"To set the context" means providing information or background that helps to better understand a certain topic, situation, or conversation. It serves as a way to give necessary details or establish the framework before discussing something specific.
Full definition