Demonstration of Transparent Gifs
This demonstation uses the same image on multiple backgrounds.
Since the image is a transparent gif, certain regions of the image allow the backround color to show through.
You can not do this with JPEG (Joint Photographic Experts Group) images
Secondary example