A shell is a program that receives computer commands given by a user from his keyboard and sends them to the operating system, which then executes them.

It is important to distinguish between command line interfaces (CLI) such as the shell, and graphical user interfaces (GUI) such as macOS or Windows 10.