"Call of Duty: WWII" is a video game that is set during World War II and strives to depict historical events and settings. While it does make an effort to be historically accurate, it is important to remember that it is ultimately a work of fiction designed for entertainment.
In addition to its focus on intensity and realism, Call of Duty 2 also emphasizes its historical accuracy. All military units in the game actually existed and all of the battles portrayed did occur (although not exactly as portrayed in the game).