Earth is wrapped in an envelope of air — mostly nitrogen and oxygen — that stretches many kilometres above your head before fading into space.