The Bootloader is the first set of instructions executed at the device's startup. In simple terms, it gives the device instructions on where to find the operating system to be booted. If the bootloader isn't locked, it can be edited to provide alternate instructions, giving you the ability to boot additional or custom kernels/ROMS.
Just like on a PC where you can have more than one operating system installed. For example, the PC I'm currently typing on can be booted into either Windows or Linux.