Before free oxygen gas became abundant in the oceans and atmosphere, it reacted with a metal and produced what type of formations? the ionosphere , the ozone layer, banded iron formations, stromatolites