Contexts are the "areas" in Moodle where roles can be assigned to people
They are arranged in a hierarchical fashion, with permissions inherited from "higher" to "lower" contexts.
See also Roles, Permissions, Assign Roles and Overrides.