Basic input/output system (BIOS), also known as the System BIOS or ROM BIOS is a de facto standard defining a firmware interface. The name originated in earlier computers running CP/M and other operating systems, where the BIOS was loaded from disc rather than stored as firmware (EPROMs were not yet available).
The BIOS software is built into the PC, and is the first code run by a PC when powered on ('boot firmware'). When the PC starts up, the first job for the BIOS is the power-on self-test, which initializes and identifies system devices such as the CPU, RAM, video display card, keyboard and mouse, hard disk drive, optical disc drive and other hardware. The BIOS then locates boot loader software held on a peripheral device (designated as a 'boot device'), such as a hard disk or a CD/DVD, and loads and executes that software, giving it control of the PC. This process is known as booting, or booting up, which is short for bootstrapping.