What is CGI and how is it used in TV Ads?

What is CGI and how is it used in TV Ads?