Stands for "Common Gateway Interface." CGI is a specification for exchanging information between a Web server and a program. Many programming languages can be used with CGI, but the most common is Perl. CGI programs add scripting and database interactivity to web pages, and is the most common way that Web servers interact dynamically with users.