In mathematics, and particularly in set theory and the foundations of mathematics, a universe is a class that contains (as elements) all the entities one wishes to consider in a given situation. There are several versions of this general idea, described in the following sections.