Capgemini Engineering Interview Question

Explain the difference between shared memory and message passing ipc?