Refers to the matter or thing just mentioned in conversation or writing; similar to 'that matter' or 'that point'.
彼が遅刻したこと、私もそのことを知っている。
I also know that he was late.
そのことについては後で話し合いましょう。
Let's discuss that matter later.
彼女はそのことを長い間気にしていた。
She had been worrying about that matter for a long time.
そのことさえ分かれば、次に進めます。
Once that is understood, we can move on.