Soldering copper (also called sweating) is one of the fundamental plumbing skills. Done right, it creates permanent joints that last the life of the building. The concept is simple: heat the fitting, touch solder to the joint, capillary action pulls molten solder into the gap. In practice, three things have to be right: the pipe and fitting must be thoroughly cleaned, the correct flux must be applied, and the heat goes on the fitting -- not the solder. Get all three right and you get a perfect joint every time. Miss any one and you get a leak.