Many do, but not all. The reliable way to know is to check the game's system requirements and any compatibility notes for Windows 7.
If a title refuses to launch, right-click its shortcut, open Properties and use the Compatibility tab to run it in Windows XP mode with reduced settings. That solves a large share of problems. Games that relied on old copy protection or 16-bit installers are the ones most likely to fail outright.