Inhalation and exhalation are both parts of respiration.
The medulla oblongata and pons, two regions of the brainstem, contain the respiratory center.
Three main respiratory neurons, two in the medulla and one in the pons constitute the respiratory center.
It is in charge of producing, maintaining, and altering the rhythm of respiration in homeostatic response to physiological changes.
In order to control the rate and depth of breathing, the respiratory center gets input from chemoreceptors, mechanoreceptors, the cerebral cortex, and the hypothalamus.
Chemoreceptors in the respiratory centers may sense blood pH levels and transmit commands to the respiratory center to change the blood's pH by adding or removing hydrogen ions or carbon dioxide.