A soldering gun is an approximately pistol-shaped, electrically powered tool for soldering metals using tin-based solder to achieve a strong mechanical bond with good electrical contact. The tool has a trigger-style switch so it can be easily operated with one hand. The body of the tool contains a transformer with a primary winding connected to mains electricity when the trigger is pressed, and a single-turn secondary winding of thick copper with very low resistance. A soldering tip, made of a loop of thinner copper wire, is secured to the end of the transformer secondary by screws, completing the secondary circuit. When the primary of the transformer is energized, several hundred amperes of current flow through the secondary and very rapidly heat the copper tip. Since the tip has a much higher resistance than the rest of the tubular copper winding, the tip gets very hot while the remainder of the secondary warms at a much slower rate. An additional secondary winding is often used to power a pilot lamp which illuminates the workpiece.
The soldering gun is useful when soldered joints must be made intermittently. A constant-heat device has to be set in a safe place when powered but not actually in use, to prevent damage or injury. The fast-switching gun cools quickly enough to be set down a few seconds after use.