CGI (Common Gateway Interface) is a standard way for a Web server to pass a Web user's request to an application program and to receive data back to forward to the user. CGI is commonly used to process online forms.