Hi Vihan, my name is Jose. I'm an Independent Advisor and a Windows user like you. I'll be glad to help you today.
First, try restarting Windows update Auto Update. Search for PowerShell, right click then and select run as administrator. In powershell window type: wuauclt.exe /updatenow
After that, restart your computer and try Windows update again.
If that doesn't work, Search for CMD, right click then and select run as administrator. In CMD window type these commands:
NET STOP WUAUSERV
NET STOP BITS
REN C:\Windows\SoftwareDistribution C:\Windows\SoftwareDistribution.old
NET START WUAUSERV
NET START BITS
after that restart your computer. If that fix your issue you must delete the .old folder. Using File Explorer go to C:\Windows\ and delete SoftwareDistribution.old folder.
Please let me know if you need any further assistance.