Why do we need the .innerHTML instruction?

To retrieve only the text of an element, without the tagsTo retrieve the whole elementTo retrieve the attributes of an element, like the id

We need it to retrieve only the text of an element, without the tags.