An anvil is used to smith metal things. The anvil cannot be made individually. It is only included in the building called a Forge. For more information of the Anvil, click here.
The anvil is a silverish brick inside a forge, toward the left hand side. It is not foragable, and is retained after infinite uses.