Do algae produce oxygen?

Many algae produce oxygen during the daylight as a by-product of photosynthesis. At night these algae consume oxygen, but usually much less than was produced during the daylight.

I did not know much about it. I wonder if they have enough oxygen to produce at night or much is needed for photosynthesis?

Algaes consume oxygen, but usually much less than was produced during the daylight. Many common situations, it can reduce the amount of oxygen a bloom produces without reducing its nighttime oxygen demand.