How does Compression Work?

Compression works by making something smaller. This can be done by either reforming it to make it a smaller version of itself, or putting it together in a different way. For example, zip files are compressed files that were originally very large amounts of data.