# Functor

In mathematics, specifically category theory, a **functor** is a mapping between categories. Functors were first considered in algebraic topology, where algebraic objects (such as the fundamental group) are associated to topological spaces, and maps between these algebraic objects are associated to continuous maps between spaces. Nowadays, functors are used throughout modern mathematics to relate various categories. Thus, functors are important in all areas within mathematics to which category theory is applied.

The words *category* and *functor* were borrowed by mathematicians from the philosophers Aristotle and Rudolf Carnap, respectively.[1] The latter used *functor* in a linguistic context;[2]
see function word.