A simple way to look at it is that an id is unique to only one element.
A class is not unique and applied to multiple elements.
For example:
This is some random stuff!
Content is a class since it'll probably apply to some other tags aswell where as "veryImportant" is only being used once and never again.