A bailment is the delivery of goods by one person (the bailor) to another (the bailee) for a specific purpose, with an agreement for the goods to be returned or accounted for when the purpose is accomplished. There are different types of bailments such as gratuitous bailments where no compensation is involved and bailments for reward where the bailee receives payment. Bailors have rights like termination of the bailment and compensation for damages, while bailees have duties of care and restrictions on use of the goods. A special type of bailment is a pledge where goods are delivered as security for a debt, with the pawnor retaining redemption rights over the pledged goods.