Hi Amanpreet,
I can recommend you to go through below link for better understanding
https://courses.lumenlearning.com/wm-compapp/chapter/identifying-your-operating-system-os/.
If the above link helped you, please remember to accept as answer.
If no, please reply and tell me the current situation in order to provide further help.