Solder is a metal ,specially alloyed to be used to fix or weld together other pieces of metal. How to use it would depend on the application and the exact metals being used
De-soldering gun is used for removing molten solder, defective components, altering, and salvaging high value components in a circuit for possible re-use.