Hello destesabad, welcome to Using English!
Generally speaking, "because" presents a verb or verb phrase as a reason for something; "because of" presents a noun or noun phrase as a reason for something. Thus:
1. Because it was raining, I went home.
2. Because of the rain, I went home.
All the best,