The lungs are the largest part of the respiratory system, which delivers oxygen to the body and removes carbon dioxide waste. Some lung conditions are caused by abnormal gene function.