Caffeine is a drug that metabolizes into theophylline, which is a bronchodilator drug that is taken to open up the airways in the lungs. Therefore, caffeine found in coffee, can relieve the symptoms of asthma, such as wheezing, coughing and breathlessness, for people with mild-to-moderate asthma, for about four hours.