ram is memory that is used to temporarily store data that is required throughout the process/thread. its very quick to access as opposed to hdd memory/dbs/web service so from a programmers perspective using this memory has performance advantages. the more ram you have the more programmatic objects you can cache and access/manipulate at any time throughout the process/thread instantly.
so for gfx architecture it would go something like: the cores process the scene and use the ram to store the objects that make the scene (polygons/textures etc). Once completed it is sent to the display, which is called buffering. the more vram the more detailed/complex a scene you can cache and therefore send to the display quickly without having to write to disk/use system memory which will take much longer