What is a bootloader in Android phones?

Boot loader in Android is something similar like you have boot loader over the Windows PC. I am sure you know that when you ran onto trouble you boot your PC over the boot loader menu to perform recovery ! It's the same thing when you encounter problems with your Android device, boot loader is used to get the device back in working state.