Shells are command-line interpreters for Linux. It executes programs known as commands by providing an interface between the user and the kernel. If a user enters the command ls, the shell runs the command ls.