A contract is a legally binding agreement between two or more parties, while a lease is a type of contract specifically for the use of property.