For questions about using Google Apps Script to extend Google applications

Google Apps Script is a JavaScript cloud scripting language that lets you extend Google Apps and build web applications.

Google Apps Script can be used in four explicit ways:

  1. creation of a customized function from within a worksheet, like =CUSTOMIZED(A4;TRUE)
  2. creation of a script from within a worksheet, like menus, automated tasks
  3. creation of a script from within Google sites, performing business logic
  4. stand-alone web application (script.google.com),

Furthermore, it allows you to access many of the Google Apps via services, making it a powerful tool.

References: