Why is it a good idea to store the parent element in a variable when accessing it?

To avoid rewriting the instruction when we need the parentWe can't access the parent without saving it in a variable

To avoid rewriting the instruction when we need the parent.