This page covers common image formats, but you may also be looking for links and useful extras.
JPG images are good for photos, but lack transparency.
GIF images are good for animations, but have limited color palettes.
PNG images are good for anything that isn't a photo or animated.
SVG images are vector-based, so can scale up or down to any size without loss of quality.