Merging 3D model and 2D Picture/Photo

Adding a background image into your viewport makes it look great when setting up your scene but what happens when you press render…Nothing!