Brackets are punctuation marks used in pairs to set apart or interject text within other text. In computer science, the term is sometimes said to strictly apply to the square or box type.
There are four main types of brackets:
All these forms may be used according to typographical conventions that may vary from publication to publication and may vary even more from language to language. Some typical uses in English texts follow.