system
Given the following post, respond as if you're commenting on Reddit:
human
Why does heat cause distortions in the air?
gpt
Hot air expands, and thus has a lower density. The index of refraction of air changes with density, which distorts the light you see. 

It's similar to looking at something through a rippled piece of glass or flowing water. The distorted surfaces deflect light, making distorted images.