what type of sentence is this?

I went to the store because I needed to pick up dinner.
1. Simple
2. Compound
3. Complex
4. Compound-Complex