The armies you can command in Warhammer 40,000: Dawn of War depend heavily on which version and expansions you own.
In the original game on its own, you can play as the Orks, Space Marines, Chaos Space Marines, and Eldar. Adding the Winter Assault expansion, which requires the original game or one of its standalone expansions, unlocks the Imperial Guard.
The standalone expansion Dark Crusade does not require the original game or Winter Assault, and it introduces two new armies: the Necrons and the Tau. Finally, Soulstorm, another standalone expansion, adds the Dark Eldar and the Sisters of Battle.
To clarify what "standalone" means: the original Dawn of War, Dark Crusade, and Soulstorm can each be played on their own, while Winter Assault cannot and needs the original game or another expansion. Just remember that you only get access to the armies tied to what you have purchased. For instance, owning only Dark Crusade and Soulstorm gives you the Necrons, Tau, Dark Eldar, and Sisters of Battle, but not the Eldar, Space Marines, Orks, or Chaos Marines, which still require the original Dawn of War.