Sir,
According to Section 2 (119) of CGST Act, 2017 “works contract” means a contract for building, construction, fabrication, completion, erection, installation, fitting out, improvement, modification, repair, maintenance, renovation, alteration or commissioning of any immovable property wherein transfer of property in goods (whether as goods or in some other form) is involved in the execution of such contract.
Therefore only construction will be called works contract provided transfer of property in goods (whether as goods or in some other form) is involved in the execution of such contract.
Leasing and Renting of Earth works, JCB Machinery etc. will not be treated as works contract and they will be treated as supply of goods since according to Section 7 (1) of CGST Act, 2017 "“supply” includes––
(a) all forms of supply of goods or services or both such as sale, transfer, barter, exchange, licence, rental, lease or disposal made or agreed to be made for a consideration by a person in the course or furtherance of business."