The Ascomycota are a phylum in the kingdom Fungi that, together with the Basidiomycota, form the subkingdom Dikarya. Members of Ascomycota are commonly known as the sac fungi or ascomycetes. It is the largest phylum of Fungi, with over 64,000 species. The defining feature of this fungal group is the ascus (from Ancient Greek ἀσκός (askós) 'sac, wineskin'), a microscopic sexual structure in which nonmotile spores, called ascospores, are formed. However, some species of Ascomycota are asexual and thus do not form asci or ascospores. Familiar examples of sac fungi include morels, truffles, brewers' and bakers' yeast, dead man's fingers, and cup fungi. The fungal symbionts in the majority of lichens (loosely termed "ascolichens") such as Cladonia belong to the Ascomycota.
Ascomycota are a monophyletic group (containing all of the descendants of a common ancestor). Previously placed in the Basidiomycota along with asexual species from other fungal taxa, asexual (or anamorphic) ascomycetes are now identified and classified based on morphological or physiological similarities to ascus-bearing taxa, and by phylogenetic analyses of DNA sequences.