You use directives to control the way the Compiler behaves: what output it produces, what code is compiled and how the compiled code behaves when it runs.
You can specify Compiler directives in a number of other ways, such as on the command line, or in a directives file.