Answer:
We use dashes in writing for a stop in the middle of a sentence, especially a quote or something like that. It can also be used in between period of time.
Example:
a. "Wait-", she said. "What was that?"
b. I lived in Chicago from 2006-2012.
Hope this helped clear things up!