Final answer:
Respiratory rate and depth are controlled by the respiratory centers of the brain, which are stimulated by chemical and pH changes in the blood.
Step-by-step explanation:
Both respiratory rate and depth are controlled by the respiratory centers of the brain, which are stimulated by factors such as chemical and pH changes in the blood. These changes are sensed by central chemoreceptors, which are located in the brain, and peripheral chemoreceptors, which are located in the aortic arch and carotid arteries. A rise in carbon dioxide or a decline in oxygen levels in the blood stimulates an increase in respiratory rate and depth.