A block is the basic unit for structured control flow. It holds a ordered collection of statements that are executed in order, starting with the first statement. It may also accumulate its own temporary, local state.

Control flow statements may be used to direct the flow of execution from one block to another or manage block state: