In the early 2000s, heading elements (H1, H2, H3) were actual ranking factors. It was mandatory to add your keywords in the headings if you wanted to rank. But that’s not been the case for many years.