The BIOS first determines whether all of the peripherals are in place and operational, then loads the operating system (or key parts of it) into the computer's random access memory from the hard disk, diskette drive, CD-ROM, or other memory device coupled thereto.