Under the law of contract, an agreement is a promise forming the consideration for each other. When an agreement is brought about by compulsion, it is enforceable by law. Where an agreement under the contract act is not enforceable by law, it is a void agreement. Void means not valid.