text: Boiling does not remove anything but gases dissolved in the water. Minerals are actually concentrated by boiling since water is removed, but the dissolved solids remain. So, the correct answer is that the oxygen is driven off. Oxygen has no significant solubility in water that hot.  If you really need to boil the water to kill bacteria or something, you can re-aerate the water with an aquarium air rock designed for this purpose. It releases zillions of tiny bubbles into the water. I'd suggest running it for a day or two for a 20 gal tank before reintroducing the fish.