Complex sentence: Gold is earned by opening chests and is used to upgrade your cards to higher levels in order to increase their stats.
Split into simpler sentences: Gold is earned by opening chests and give cards. Is used to upgrade your cards to higher levels in order to increase their stats.