The RAM contents will be valid till the Power is on
but as the power goes off the values of the variables are lost
So if we want some settings to be saved
or say we want to store the password then we write it on the EEPROM so the next time the power is on we can load them and can continue with the old settings