It is usually a conjunction, as in 'I lost my job because I always came to work late'. It is considered a compound preposition in the phrase 'because of': 'I lost my job because of my consistent lateness'.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.