Elevation affects local climate. As elevation increases, temp become cooler. This has to do with air density, or how close or far apart air molecules are from each other. Air molecules are held together by gravity. The higher up they are, the harder it is for gravity to hold them together. At higher elevations, air molecules are spaced farther apart, meaning the air is less dense. The air is less able to trap heat from the Sun, so temp are cooler. At lower elevations, air molecules are closer together, meaning the air is more dense. The air is better able to trap heat, so temp are warmer.