Contracts are a vital part of law. They can be used to create legally binding agreements between two or more people. There are many different types of contracts, but the most common type is the contract of sale. This is when someone buys something from another person and the purchase is governed by a contract. There are also contracts for services, such as those that involve lawyers or doctors.