Use “weil die Sonne scheint” for “because the sun is shining.” After weil, the conjugated verb comes at the end.