A variety is a class of algebras that is closed under homomorphisms, subalgebras, and direct products. Examples include the variety of groups, the variety of rings, the variety of lattices. The class of fields (viewed as a subclass of the class of rings) is not a variety, because it is not closed under direct products.
Some important varieties, such as the variety of distributive lattices, are locally finite, meaning that their finitely generated algebras are finite. Others, such as the variety of all lattices, are not locally finite. In strong varieties, direct sums of locally finite algebras are locally finite.
Note that this type of variety arises in universal algebra and really has nothing to do with algebraic varieties, toric varieties,
etc.