In Spite Of
- They went out in spite of the rain. (=They went out although it was raining. )
In more formal English, despite can be used in the same way as in spite of.
In spite of and because of
In spite of is the opposite of because of.
- She passed her exam in spite of her teacher. (= She had a bad teacher.)
- She passed her exam because of her teacher. (=She had a good teacher.)
In spite of can be followed by an -ing form.
- I enjoyed the film in spite of having a headache.