Mana is used when casting spells. You must have a certain amount of mana in order to cast any particular spell. If you do not have enough mana to cast the spell you must rest until you gain enough points to cast.