Why RAM is so important?

RAM stands for „Random-Access Memory“ (Arbeitsspeicher in German) and is a short-term memory in which the OS (Operating System = Mac OS or Windows) caches all running processes and programs. So the amount of RAM also contributes to the speed/performance and resilience of your computer.

wikipedia.org/wiki/Random-access_memory