The correct answer is: C. To consolidate, amend, and define the laws relating to the sale of goods.

The Sale of Goods Act, 1930 is an Act of the Parliament of India to consolidate and amend the law relating to the sale of goods. The Act was enacted to provide a uniform law on the sale of goods throughout India. It applies to all contracts of sale of goods made in the territory of India.

The Act defines a "sale" as an agreement to transfer the property in goods for a price. It also defines the terms "buyer", "seller", "goods", "price", and "delivery". The Act then sets out the rights and obligations of the buyer and seller under a contract of sale.

The Act also deals with the passing of property in goods, the risk of loss, the implied terms of a contract of sale, the remedies for breach of contract, and the sale of goods by description.

The Sale of Goods Act, 1930 is a comprehensive and important piece of legislation that governs the sale of goods in India. It is a valuable resource for businesses and individuals who are involved in the sale of goods.

Option A is incorrect because the Act does not only define the laws relating to the sale of goods. It also consolidates and amends the laws relating to the sale of goods.

Option B is incorrect because the Act does not only consolidate the laws relating to the sale of goods. It also amends the laws relating to the sale of goods.

Option D is incorrect because the Act does not only define and amend the laws relating to the sale of goods. It also consolidates the laws relating to the sale of goods.