Complex sentence: The character gains experience points through combat, quests and exploration; when a certain number of points is accumulated, the character levels up, and gains hit points and mana.
Split into simpler sentences: The character gains experience points through combat, quests and exploration. When a certain number of points is accumulated, the character levels up, which increases hit points and mana.