Hello my name is Jonathan, I'm here to help you.
To upgrade to Windows 11, you will need a processor from the 8th generation or newer, which your current motherboard socket does not support. Therefore, you will need to replace both the CPU and the motherboard. Since the Windows OEM license is tied to the motherboard, it is not transferable, so you will need to purchase a new Windows license.