Sec 2 (g) of the Indian contract act 1872 defines a void agreement. Any agreement is said to be void if it is unenforceable in nature. A void agreement has no legal value. For example: –
1. When a contract involves a subject matter which is illegal in nature such as prostitution or gambling it is void.
2. Contracts with minors are also void.