What is the purpose of a spell attack modifier?

In the 5e Player’s Handbook, the Wizard Class on page 114 defines a spell attack modifier, but the spells I have looked at all specify attack damage without using this modifier or mentioning it. I can’t determine what it has to do with anything. Where does it come into the game?