What is the definition of bartering?

selling an item for money
selling a service for money
trading an item for another item
trading an item for future benefits