A fungus (pronounced /ˈfʌŋɡəs/; pl. fungi or funguses) is a member of a large group of eukaryotic organisms that includes microorganisms such as yeasts and molds (British English: moulds), as well as the more familiar mushrooms. These organisms are classified as a kingdom, Fungi, which is separate from plants, animals, and bacteria. One major difference is that fungal cells have cell walls that contain chitin, unlike the cell walls of plants, which contain cellulose. These and other differences show that the fungi form a single group of related organisms, named the Eumycota (true fungi or Eumycetes), that share a common ancestor (a monophyletic group). This fungal group is distinct from the structurally similar myxomycetes (slime molds) and oomycetes (water molds). The discipline of biology devoted to the study of fungi is known as mycology, which is often regarded as a branch of botany, even though genetic studies have shown that fungi are more closely related to animals than to plants.
Abundant worldwide, most fungi are inconspicuous because of the small size of their structures, and their cryptic lifestyles in soil, on dead matter, and as symbionts of plants, animals, or other fungi. They may become noticeable when fruiting, either as mushrooms or molds. Fungi perform an essential role in the decomposition of organic matter and have fundamental roles in nutrient cycling and exchange. They have long been used as a direct source of food, such as mushrooms and truffles, as a leavening agent for bread, and in fermentation of various food products, such as wine, beer, and soy sauce. Since the 1940s, fungi have been used for the production of antibiotics, and, more recently, various enzymes produced by fungi are used industrially and in detergents. Fungi are also used as biological pesticides to control weeds, plant diseases and insect pests. Many species produce bioactive compounds called