Z axis

I keep seeing these sites that use the z axis to simulate real-world depth perspective. Here are some examples:

http://www.flowersforhope.com

Can someone please direct me to where I can learn this technique? Or at least give me a hint as to how its done?

Thanks!