What does producers give of in photosynthesis?

During photosynthesis, producers give off oxygen (O2) and glucose (C6H12O6).