The double coincidence of wants
In barter, each person needs to have something the other person wants. If a rice grower wants shoes but the shoemaker wants vegetables, they cannot make a direct exchange. Using money lets the grower sell rice to one person and pay the shoemaker separately.
Compare prices in the same unit
If one notebook costs ₹30 and another costs ₹45, both prices use the rupee as a common unit of account. The second costs ₹15 more. This use of money helps people compare unlike goods and services.