the medulla measures how much carbon dioxide is in a person's blood. when the body makes energy, carbon dioxide gets left over. the body has to get rid of extra carbon dioxide, because it is poisonous. the only way the body can get rid of carbon dioxide is by breathing it out.