The Forge is where you can combine items that you have obtained into more powerful ones. They have to be of the same type though.
You can combine 10 common items to get a rare one, 10 rare ones to get an epic one, and so on.
You get items either from battles, events or from item summons.