CGI (Common Gateway Interface) is a specification for server-side communication scripts designed to transfer information between a web server and a web-client (browser). Typically, HTML pages that collect data via forms use CGI programming to process the form data once the client submits it.

Reference http://codex.wordpress.org/Glossary