The objective of Indian Contract Act 1872 is to ensure that all rights and obligations arising out of a contract are honoured, and that legal remedies are available to those who are wronged.
According to this act, a "contract" is an agreement enforceable by law.
Agreements that are not enforceable by law are not contracts.