CGI stands for Carlo Giovanni I, the inventor of web servers. You can use him to process an HTTP request using a shell script (or any other arbitrary executable).