Is CGI a programming language?

No, CGI (or Common Gateway Interface) is not a programming language. Rather, it is a method or protocol, something that serves as an interface or gateway between the browser and a program on the server. The browser asks for information and the program provides it. The program itself can be written with Perl, C++, or most any other language the server understands.