Neither chlorine nor fluorine occurs free on this planet; but, as pointed out already, neither would oxygen if earthly life were not constantly replenishing it by photosynthesis. It has been pointed out that both these gases are odd-numbered elements and therefore in shorter universal supply than oxygen. This may well be true; but if some mad scientist were to develop a microorganism able to photosynthesize free chlorine from the chloride ion in Earth’s ocean, it wouldn’t have to do a very complete job to release as much of this gas as we now have of oxygen. Breaking down ten percent or so of the ocean salt would do the trick. Present-day biological engineering is probably not quite up to this job yet, but if you want to use the idea in a story be my guest. I don’t plan to use it myself; the crazy-scientist story is old hat now except in frankly political literature, and even the germ-from-space has been pretty well worked to death in the last forty years.