Money solves the problem of double coincidence of wants by acting as an intermediate in the exchange process.