Your Windows 10 product key serves as proof that you actually own Windows 10, and might need to be entered when you reinstall or upgrade Windows.
You can recover a Google account you've forgotten the email address or password to using the Find My Email or Account ...