Digital compositing is the process of combining two or more images to create a believable illusion. The term is applied to both still photography and CGI film effects. There are MANY tutorials online that take you step by step through the process of creating a digital composite.
Welcome To Berlin Episode I (#Photoshop CS6) Alexander Koshelkov
Photoshop Cs5: Digital compositing
View the Portfolio of Oliver Wasow
For Fun… view You_Suck_At_Photoshop