The kernel is what controls all processes. Who gets what ram. Who accesses what files. That is all up to the kernel!

Processes are what happen when you run a program.