Firmware is startup software stored permanently on a small chip on the motherboard. When the power button is pressed, it finds the drive with the operating system, sets processor and memory speeds, sets up ports for devices like a keyboard, and then hands control to the operating system.