In mathematics, a topos (plural "topoi" or "toposes") is a type of category that behaves like the category of sheaves of sets on a topological space. For a discussion of the history of topos theory, see the article Background and genesis of topos theory.