Flexi Says: The diaphragm evolved in a common ancestor of mammals, a reptile with some features of mammals that lived 250-300 million years ago. Evolution of the diaphragm played an important role in the development of thermoregulation, one of the key characteristics of mammals.