Groovy scripting is used for writing code in extension and validations. Widely used in Appcomposer.