How to understand and use compression: In-depth tutorial