Do GUIs represent a type of separate shell?

When I install some Linux distros with a GUI, they come with the shells sh and Bash. The CLI let you operate the system through sh and Bash, but what about the GUI? Does the GUI let you operate the system through sh and Bash or it has it’s own shell to intermediate between you and the kernel?