What happens when both parent and child elementn has position absolute

I was watching a tutorial and didn’t understand it.