Answer: B
Correct answer: Software stored permanently on a hardware device to control it
Firmware is software written into a hardware device to control it - permanent enough to be part of the device, but still code rather than circuitry. Hence the name, standing between hardware and software. The BIOS or UEFI on a motherboard is the familiar example, but firmware is present in almost everything: hard disks, SSDs, printers, routers, cameras, keyboards and washing machines all run their own. It was originally stored in ROM and unchangeable. Modern devices use flash memory instead, so firmware can be updated - which is what makes a router able to receive a security patch, and what makes a failed update capable of rendering a device useless, since the code that would let it recover is the code being replaced. The distinction from an operating system is one of level: firmware initialises and controls one device, while an operating system manages the whole machine and the software running on it.