Firmware is a type of software that runs on a hardware device, performing low-level tasks. For example, everything from a television remote control to a computer hard drive to an aerial drone runs its own firmware. And microcode is basically firmware for your CPU.
Source: How-To Geek