Ans-An operating system is a software program that manages the hardware and software resources of a computer, and provides services for applications to run.