Ectotherms depend mainly on external heat sources, and their body temperature changes with the temperature of the environment.