Definition of a PNG file (vs. Gif)

Can anyone explain to me the definition ofa PNG file and it’s uses as well as it’s contrast to the uses of a Gif File.

Cheers;)