The BIOS, or Basic Input/Output System, is a ROM chip containing code (firmware) to control peripherals attached to a PC.