Why do we need IDs?

To identify specific elements from within the JavaScript codeTo make an element display on the webpageTo group similar elements

We need IDs in order to identify specific elements from within the JavaScript code.