Canonical interview question

Define a boot loader and explain its functions.