How does frequent coughing help to improve lung functioning?