In mathematics, the term mapping, usually shortened to map, refers to either A function, often with some sort of special structure, or A morphism in category theory, which generalizes the idea of a function. There are also a few, less common uses in logic and graph theory.