A contract is a legally binding agreement by one party to fulfil an obligation to another party in return for consideration. It can either be oral or in writing.