Windows 7 was released in 2009 and was a major release of Microsoft Windows. Windows 10 is now the current version of Windows, but 7 is still popular.
Windows XP has ended support and lots of Windows XP PCs are compatible with Windows 7. You can use this OS until 2020 if you need support, and Windows 7 is definitly a good update from XP.