Configuration contexts allow using different configuration values for a (typically small) number of configuration values, depending on the situation or context.
After reading this page, you may also consider Best practices - Configuration contexts and context retention policy.