Besides RAM and ROM there is a third type of primary memory or storage called as CMOS. It is used to store the system configuration, date, time and other important data. When a computer is switched on, BIOS matches the information of CMOS with the peripheral devices and displays error in case there is any mismatch.