Question: what is the relation between altitude and temperature?
Answer: As you increase altitude, the air gets increasingly rarer, which leads to a loss of pressure. Temperature is directly proportional to pressure, so the lower the pressure, the lower the temperature. In short, the higher the altitude, the lower the temperature.