A contract is an agreement between two people or groups that states what each will do for the other. It's like making a promise with someone else, but it's written down. For example, two people might make a contract when they buy a house from each other. The buyer agrees to pay the seller a certain amount of money and the seller agrees to give them the keys to the house. Both sides have to keep their part of the deal in order for it to be valid.