No one thinks it's necessary; it's just fungible and storable, and therefore more practical than barter.
Value-matching with barter is really hard. Maybe I'm a neurosurgeon and I want to buy some novelty shot glasses. Must I perform neurosurgery for the shot glass salesman? That's a very asymmetric trade.