All historical wargames have a setting that is based on some historical era of warfare. The setting determines what kind of units the players can deploy in their match. For instance, a wargame set in the Napoleonic Wars should use models of Napoleonic-era soldiers, wielding muskets and cannons, and not spears or automatic rifles. A fantasy wargame has a fictional setting and may thus feature fictional or anachronistic armaments, but the setting should be similar enough to some real historical era of warfare so as to preserve a reasonable degree of realism. For instance, Warhammer Age of Sigmar is mostly based on medieval warfare, but includes supernatural elements such as wizards and dragons. The most popular historical settings are World War 2, the Napoleonic Wars, and the American Civil War (in that order). The most popular fantasy setting is Warhammer 40,000.