A contract is an agreement or promise that the law can enforce. The law will enforce some agreements but not others. For example, in most places, if a parent promises to take a child to get ice cream, the law will not enforce that promise as a legal contract.