When studying HISTORIOGRAPHY, or the history of history.
That's the word you're looking for in your description.
Historians themselves are embedded in time periods and cultures, and the times and cultures in which they live influence their understanding and interpretation of the history they record. Historiography, that is, the writing of history, is a field of study in itself, seeing the work of historians within the different contexts from which they were doing their research and writing.