In the 1982 film 'Star Trek II: The Wrath of Khan', the terraforming device is called the Genesis Device.
Developed at the Federation's Regula I research station by Dr. Carol Marcus and her team, Genesis is designed to transform lifeless matter into a living, habitable world. Its activation rapidly reorganizes a planet's surface, making it one of the most powerful technologies introduced in the original Star Trek films.
The USS Reliant is sent to locate a lifeless planet on which the device can be tested, but Khan Noonien Singh seizes the ship and learns about Genesis. He later uses it as a weapon against Kirk, detonating it aboard the Reliant during the climactic battle in the Mutara Nebula. The resulting explosion creates the Genesis Planet.
The device is not a propulsion system or weapon such as a phaser, although Khan's use of it makes it strategically dangerous. Its later instability is linked to David Marcus's use of protomatter, a forbidden and unreliable substance in the Genesis project's design.