When the computer is powered on, the power supply converts AC to DC power and supplies the components. The BIOS then begins the POST which checks that components are functioning. If POST is passed, the operating system loads. Hardware devices then communicate with the CPU using interrupt requests to get the CPU's attention and process tasks.