そこで is a conjunction meaning "so," "therefore," "accordingly," or "and so." It is used at the beginning of a sentence (or clause) to introduce an action or decision that someone takes as a natural response to the situation described in the preceding sentence.
A key feature of そこで is that the clause following it almost always describes a deliberate action or decision – something someone actively chose to do in response to a situation. It does not typically introduce natural consequences, emotions, or states that happen on their own.
Compare this with それで or だから, which can introduce both volitional actions and non-volitional results:
そこで is used in written language, presentations, and storytelling. It often appears in narratives to move the story forward by describing what action was taken next.
It can also be used to introduce a question or proposal in a meeting or discussion setting:
Both can mean "so/therefore," but そこで emphasizes a purposeful response to a situation, while それで simply connects cause and effect more broadly. それで is also more conversational, while そこで is slightly more formal and structured.