You can compare bootloader with BIOS in PC which load before Windows starts and shows lenovo/hp/dell logo. The function of bootloader is to look for the available hardware(give warning if faulty hardware) attached and where to look for(for example in Hard drive/dvd drive/ network drive/ pendrive) operating system(windows in case of pc)