RAM is short for Random Access Memory. It is a temporary place to store data.
It is also volatile. Meaning if no power is running through it, it looses everything.
That is the purpose for hard drives and SSDs. They offer a more permanent storage solution.