Class can affect several elements.
ID is typically used for a single element, though you can use it on several elements.
Classes begin with '.'
ID's begin with '#'
Hope this helps.
Here's a helpful link: