The shell executes a program when you give it a command in response to its prompt. The output of the command is displayed on the standard output.