The BIOS is boot firmware that is the first code run when a PC powers on. It initializes hardware like the display, disk drives, and other devices. The BIOS comes pre-installed on the motherboard and acts as an interface between the operating system and hardware. It runs startup programs and drivers to get the system running. When turned on, the BIOS performs a power-on self-test of major components and allows the user to configure settings like date/time in CMOS memory.