Temperature of air

What happens to the temperature of air as it rises, and what happens to the temperature of air as it descends? Why? How does this affect you in your daily life and when you travel?