Choose the best definition for function?
A. The inputs of a relation
B. The outputs of a relation
C. The movement of a graph either vertically or horizontally
D. A special relation where every input has only one output