Common Gateway Interface A set of rules that describes how a Web Server communicates with another piece of software on the same machine and vice-versa. Any piece of software can be a CGI program if it handles input and output according to the CGI standard.