Respiratory acidosis is a medical condition characterized by an excess of carbon dioxide (CO2) in the blood, leading to a decreased pH, which makes the blood more acidic. It occurs when the lungs cannot adequately remove CO2 due to conditions affecting respiratory function.