It's used instead of 'to be' to separate nouns, e.g. Мама - врач. But not when there's a pronoun, e.g. Она врач. It can also be used instead of some punctuation marks. I hope that makes sense. There's probably more to it, but I think that might help you?