Pig iron is melted, making a lump of iron called a bloom, and slag. The iron lump is then hit with a hammer many times. Hitting the iron with a hammer gets the slag out of the iron, so the iron can be used.