Beta agonists work by binding to beta-adrenergic receptors, which leads to relaxation of smooth muscle tissue. In the context of respiratory conditions, this results in bronchodilation, or the widening of air passages, making it easier for patients to breathe. This mechanism of action makes beta agonists effective in relieving symptoms such as wheezing, coughing, and shortness of breath.