Define variables and data structures.