Carbon dioxide retention, also known as hypercapnia, occurs when there is an excess of carbon dioxide (CO2) in the bloodstream. This can result from inadequate respiration, decreased lung function, or other underlying medical conditions. It is a critical issue that requires prompt medical attention and comprehensive nursing care.