Mucous membranes, or mucosae, line body cavities that are exposed to the external environment, such as the respiratory, digestive, and urogenital tracts. These membranes secrete mucus, which traps pathogens and particulate matter, preventing them from entering the body. Mucus also contains antimicrobial peptides and enzymes that neutralize potential threats.