Typically you render the objects in a scene against a black background and composite the rendered images later with an appropriate background using compositing software. However, you can insert a background:
To create a background, see Create a basic color background.