What elements compose solder?

Solder is typically composed of lead or tin. At a higher heat, brass or silver can be used. Solder is used for joining other metals together.