Ram provides the working memory of a computer and it only works while there is power flowing through the computer. As soon as you switch off the computer, its memory chips are altered.