What is an Android Bootloader??

I had this question in my head for many weeks before i finally found an answer. A Bootloader is a code that is executed prior to any Operating System starts to run. And unlocking the bootloader on an Android device will allow you to install custom Firmware on that device.

Source - What Is a Bootloader and How do You Unlock the Bootloader??