What is the difference between JPEG and PNG files?

What is the difference between JPEG and PNG? (link) – this link explains the difference between two of the file types provided in the zipped folder.