According to Indian contract law, a person must be of the age of majority, of sound mind, and not otherwise legally disqualified to have the capacity to enter into a valid and enforceable contract. A minor, defined as a person under 18 years of age, lacks such capacity and any agreements entered into by a minor are void ab initio. However, a minor can be held liable to pay for necessities provided to them, such as food, clothing, shelter, and services related to education or healthcare. A person of unsound mind, including idiots, lunatics, or those intoxicated, also lacks the capacity to contract if unable to understand the nature and effect of the agreement.