An operating system (OS) is a very important component of a computer without it the computer cannot be functional. In…