Respiratory failureinability of the lungs <to work properly><to take in oxygen and get rid of carbon dioxide properly>