The entire point of money is to be a medium of exchange that everyone can use. It means people don't have to barter, and create long chains of bartering. We need bakers to bake bread, but when I want to have some bread, how do I make the purchase? Without money, I'd have to give the baker something else he wanted, which would require me to have the item he wanted, and to make things fair, it would have to be of roughly equal value. If I don't have anything the baker wants, I have to go and search for something he does want, do an exchange with that item, and then do the exchange with the baker. This can result in ridiculous chains of bartering which wastes everyone's time.
The solution is money. Everyone agrees to accept money in exchange for items, and then I can pay the baker for his bread, and the baker can exchange my money for something he wants.
The solution is money. Everyone agrees to accept money in exchange for items, and then I can pay the baker for his bread, and the baker can exchange my money for something he wants.