(b) : Whale, bat and rat are mammals. Diaphragm is present in mammals. The diaphragm separates the thoracic cavity (with lung and heart) from the abdominal cavity (with digestive system and urogenital system). In its relaxed state, the diaphragm is shaped like a dome. It is controlled by the phrenic nerve.