Mages cast spells, and the breadth of that depends entirely on the setting.
Some are generalists with access to the full range of magic, while others are specialists — a fire mage, for instance, only commands elemental flame and nothing outside it. That specialisation is usually balanced by greater power within their narrow field.
So the honest answer is that "mage" describes a category rather than a fixed kit. If you are choosing one in a particular game, the class description will tell you which of the two you are getting.