I wanted to go for a walk; Conjunctive adverb (e.g., however, unfortunately), it started to rain.
He didn’t like the movie. Transition word or phrase (e.g. Nevertheless, However, Still), he stayed until the end.
Introductory phrase, the experiment failed, we learned a lot from it.