A metalsmith or simply smith is a craftsperson fashioning useful items (for example, tools, kitchenware, tableware, jewelry, armor and weapons) out of various metals. Smithing is one of the oldest metalworking occupations. Shaping metal with a hammer (forging) is the archetypical component of smithing. Often the hammering is done while the metal is hot, having been heated in a forge. Smithing can also involve the other aspects of metalworking, such as refining metals from their ores (traditionally done by smelting), casting it into shapes (founding), and filing to shape and size.