A cgi-script is a programming language that allows you to communicate between your publication and the web Server. When using the Post Web Data action you send information to or receive information from a cgi-script.
Explaining CGI scripts
The Post Web Data action