CGI stands for Common Gateway Interface. It allows the programmer to add functionality to a web page or web site by executing code on the server, the output of which may (if coded well) or may not (if not coded well) send a response back to the browser describing that a certain action was taken. Typically, CGI is utilized to process form submissions or other web applications, but it can also be used to create applications for other purposes.