A utility function assigns numerical values ("utilities") to outcomes, in such a way that outcomes with higher utilities are always preferred to outcomes with lower utilities.
See also: Complexity of Value, Decision Theory, Game Theory, Orthogonality Thesis