Windows XP is technically Windows 5.0, Vista is 6.0, and 7 is 6.1.
The 7 in Windows 7 is just the name of it, since vista was 6.0 they named it 7 (at least I think that’s why it’s Win 7)

So in answer to your question, both Windows 7 and Windows 6.1 are the same product, it’s just 2 ways of referring to it.

Operating system Version number
Windows 10 10.0*
Windows Server 2016 10.0*
Windows 8.1 6.3*
Windows Server 2012 R2 6.3*
Windows 8 6.2
Windows Server 2012 6.2
Windows 7 6.1
Windows Server 2008 R2 6.1
Windows Server 2008 6.0
Windows Vista 6.0
Windows Server 2003 R2 5.2
Windows Server 2003 5.2
Windows XP 64-Bit Edition 5.2
Windows XP 5.1
Windows 2000 5.0