Flexi Says: Until mammals and birds evolved, all vertebrates were ectothermic. Ectothermy is the process of regulating body temperature by external mechanisms through behavioral changes. Both mammals and birds evolved endothermy. Endothermy is the process of regulating body temperature by internal mechanisms through metabolic or other physical changes.