Pregunta de entrevista de FlightAware

What is the difference between class and id in HTML?