The hreflang attribute is a code used to indicate Google which parts of a website target a certain country or language, and which parts target another one.
Improper implementation may lead to serious unwanted consequences.