Expectorants function by increasing the production and thinning the consistency of mucus in the respiratory tract. This action helps to loosen thick mucus, making it easier to cough up. The alleviation of congestion in the airways allows for clearer breathing, reducing the discomfort often associated with respiratory ailments. The most common expectorant used in over-the-counter medications is guaifenesin.