All grammarA2
weil
The rule
In a clause with weil the conjugated verb goes to the end, and a comma comes before weil.
weil means because and gives a reason. It answers warum? (why?).
With a modal verb the modal is last, after the infinitive: weil Tom arbeiten muss. In the Perfekt haben or sein is last, after the participle: weil wir den Zug verpasst haben.
The weil clause can also come first. Then the main clause starts with its verb: Weil der Zug Verspätung hat, kommen wir später.
Examples
Ich fahre mit dem Fahrrad, weil ich gern draußen bin.
I cycle because I like being outside.
Tom spielt am Samstag nicht Fußball, weil er in Berlin ist.
Tom isn't playing football on Saturday because he's in Berlin.
Wir fahren nach Berlin, weil Sophie Geburtstag hat.
We're going to Berlin because it's Sophie's birthday.