It's used to separate two parts of a sentence, that could form sentences of their own. It can also be use to separate items in a list.