In vertebrates mucus is made by mucous membranes. Mucus may have antiseptic enzymes (such as lysozymes) and immunoglobulins (antigens). A major function of this mucus is to protect against infection by fungi, bacteria and viruses. 