RAM is volatile memory: its contents are lost when electrical power is switched off. ROM, EEPROM, and flash memory are non-volatile and retain stored information without continuous power.