In mathematics, specifically universal algebra, a variety of algebras is the class of all algebraic structures of a given signature satisfying a given set of identities. Equivalently, a variety is a class of algebraic structures of the same signature that is closed under the taking of homomorphic images, subalgebras and (direct) products. In the context of category theory, a variety of algebras is usually called a finitary algebraic category.