Theophylline is a medication commonly used to treat respiratory diseases such as asthma and chronic obstructive pulmonary disease (COPD). It works by relaxing the muscles around the airways, making it easier to breathe. Theophylline is often prescribed for patients who experience wheezing, shortness of breath, or other breathing difficulties.