Here is a picture of the Sun

This image was taken from Flikr

Characteristics of PNG graphic format.
  1. Supports millions of colours.
  2. Supports multiple levels of transparency.
  3. Conbines the best of GIF and JPEG.
  4. APNG (a newer format) supports animation as well.

Here is a picture of the Moon

This image was taken from Wikipedia

Characteristics of JPEG graphic format.
  1. Best used for photographs.
  2. Up to 16.7 million colours.
  3. Cannot be animated.
  4. Cannot be made transparent.

Here is an animation of the Mars Rover

This image was taken from NASA

Characteristics of GIF graphic format.
  1. Best used for line art and logos.
  2. Maximum of 256 colours.
  3. Can be animated.