Thereby is used in connection with what is at a distance from the speaker or what has been mentioned by the speaker or by someone else
Thereby: - by that means; because of that
When using the word "thereby," you use a comma before the word,
Example: He pulled it closer to him, thereby making it far easier to get up.
you became a member of italki today , thereby learning different languages.