What is the primary function of a shell in an operating system?
A shell provides an interface for users to interact with the OS, either through CLI or GUI.