Upsetting is a forging operation where the thickness of the material is increased by compressing its length, typically done to form heads on bolts or rivets. It is not used in casting, drilling, or turning operations. In forging, upsetting reduces the height while increasing the cross-sectional area.