Those ugly black spots on your roof are not dirt — they’re algae, more specifically known as blue-green algae or gloeocapsa magma. Gloeocapsa magma is a bacterial species that can photosynthesize. It can also photolyze water and produce gases such as oxygen. It usually begins as a small spot and eventually becomes black streaks that stay on your roof for at least two or more months.