Photosynthesis is a perfect example, I know of a handful of useful chemicals that today come from the cultivation of specific plants. Food production is the other obvious one use case for it. If you're byproduct is oxygen, well, can use it for whatever you want.