Outlines, masks and clipping paths are techniques used to remove elements from one photo and add it to another. A product is often shown in a catalog without a background to help you focus on the product.
Before computers, this process involved laborious darkroom techniques. Digital processes have simplified the process and have expanded the possibilities of what can be done. However, the quality is very much dependent on the software and skill level of the staff.