1. Short for Common Gateway Interface, CGI allows visitors to a web page to send and receive information from a server. A common example of how a CGI script is used is by allowing a user to type a set of keywords, pass those to a CGI application to process a search, and then return results to the web page. Often CGI scripts and executables are run through cgi-bin directory.
2. Short for Computer Generated Imagery, CGI is any image or sequence of images that have been generated with the aid of computers. CGI is commonly used in movies to generate the simulated, realistic looking images or animated objects, commonly referred to as special effects. The 1976 movie Futureworld was the first feature film to use 3D computer generated images. The following simple image was generated using computer software.