The Cambridge Dictionary provides a definition of "anachronism."
"Anachronism," Cambridge Dictionary, accessed September 11, 2023
anachronism
noun [ C ]
us /əˈnæk.rə.nɪ.zəm/ uk /əˈnæk.rə.nɪ.zəm/
Add to word list
a person, thing, or idea that exists out of its time in history, especially one that happened or existed later than the period being shown, discussed, etc.:
For some people, marriage is an anachronism from the days when women needed to be protected.