'But' shows contrast.
Previous Question
___ the bell rang, the students left.
Next Question
___ it was cold, he wore a jacket.