Inhaled beta2-agonists enlarge (dilate) the airways that lead to the lungs (bronchial tubes). This makes it easier to breathe. They are sometimes used in acute bronchitis to help coughing and wheezing.
The possible benefits of using beta2-agonists should be weighed against the possible side effects of shaking, tremor, and nervousness.
Citations
WebMD Medical Reference from Healthwise