In most of the people's mind, money is a standard unit of value. Just like using meter to measure length and using kilogram to measure weight, people use money to measure value
Many of us use money to measure work and we need money to measure that. One hour of a cleaner's work is worth less than one hour of a doctor. We need money for this use.