Common Gateway Interface is a standard that allows a webpage to communicate to its host server to activate a script (such as an email feedback form).
ISPs often limit access to the cgi-bin to prevent scripting errors affecting other websites hosted on the same server.
The cgi-bin is a directory on the server where CGI scripts (binaries) are stored. Scripts stored in this directory are able to run processes on the server.