Set theory begins by giving some examples of things that are sets. Then it gives rules in which you can make other sets from the already known sets. Collections of objects that are not sets are called (proper) classes. It is possible to do mathematics using only sets, rather than classes, so that the problems that classes cause in mathematics do not occur.