You can upgrade your spells and defense inside the laboratory.

You will need gold to purchase the upgrades. The more powerful your spells, the better you will be able to attack your enemies and protect your realm.