Formoterol works by stimulating beta-2 adrenergic receptors in the lungs, leading to relaxation of the bronchial muscles. This results in the widening of airways, making it easier to breathe. Its effects start within a few minutes and can last up to 12 hours.