What happens to molecules in air as altitude increases in the troposphere?

As altitude increases in the troposphere, the air pressure decreases and the molecules become more spread out, resulting in a decrease in air density.