Context for managing execution state, including mode switching, device management, and memory management.