Utility represents how a decision maker ranks outcomes. A utility function assigns numbers to alternatives consistently with those preference relations; ordinal comparisons depend on the ordering rather than the particular numerical scale.
New to topics? Read the docs here!