A contract has six important elements so that it will be valid which is offer, acceptance, consideration, intention to create legal relation, certainty and capacity. If the main elements are not in contract, it would be an invalid contract.