UV, at the right intensity, can kill algae cells but only the ones in the water passing through it, although it tends to be used in ponds to make green water flocculate so that the filter can take it out of the water, in aquaria it tends to run at higher intensities, intended to kill...