Narvar interview question

What's the difference between HTML class and ID?