A dash can be used either like a comma – to denote a parenthetical statement, but with a bit more oomph – or between a clause and an example – like a colon.