Wizards clearly draw from some finite source of energy, because they can run out of spell slots (ignoring cantrips). Warlocks and clerics presumable have an amount of energy bestowed upon them from their patrons along with the spells themselves. Sorcerers draw upon energy from within themselves...