I saw it many times in many texts. There will be a word or a phrase inside a text and surrounded by square brackets.
- This is [the] main purpose of xxx.
- And it was called [xxx].
There are many examples out there. What does it mean when you surround a text in square bracket inside a whole text?