Question: what is the relationship between temperature and altitude?
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.