How it works
が (subject) marks 蝉 (cicada) as the subject — what is doing the action. The verb sits at the end in the 〜ている (ongoing) form: take the te-form 鳴いて (singing) and add いる (is), which describes an action happening right now. So it means the cicada is singing, in progress.