4) There should be free consent of the parties, when they enter into the agreement.
5) The agreement must not be one, which has been expressly declared to be void.
From the point of view of the legality, there are different types of agreements.
1. Contract
According to Section 2(h), contract is an agreement which is enforceable by law. It is an
agreement or set of promises giving rise to obligations which can be enforced or are recognized
by law. It has been noted above that in order that an agreement becomes a contract, it has to
satisfy all the essentials of a valid contract as mentioned in Section 10.
2. Void Agreements
According to Section 2(g), of the Act,1872, an agreement not enforceable by law is said to be
void. For instances, an agreement by a minor has been held to be void. Sections 24 to 30 of the
Indian Contract Act, 1872, make a specific mention of agreements which are void. Those
agreements include an agreement without consideration, an agreement in restraint of marriage,
an agreement in restraint of trade.
3. Voidable contracts
According to Section 2(i) of the Act, 1872, an agreement which is enforceable by law at the
option of one or more of the parties thereto, but not at the option of the other, is a voidable
contract. Thus, a voidable contract is one which could be avoided by one of the parties to the
contract at his option. If such a party does not avoid the contract, the contract remains valid, but
if it prefers to avoid the contract, then the contract becomes void.
4. Illegal agreements
There are certain agreements which are illegal in the sense that the law forbids the very act, the
doing of which is contemplated by the agreement. For example, an agreement to commit a crime
or a tort, or an agreement which tends to corrupt public life, or an agreement to defraud public
revenue, is illegal. Such an agreement is patently opposed to public policy. The law forbids
making of such agreements.