When you take a History class, you memorize a whole bunch of dates and names and places etc etc etc and often have to name those on tests.
You are likely to forget most of the specific names, dates, places etc etc etc that you learned, but the overarching timeline, events, important ideas that people represented etc etc etc will stick with you. And that's the point.