Knowing foam is formed by trapping pockets of gas in a liquid or solid, what could a foam able to support life on an earth-like planet be made of?
This foam ought to be stable enough and large enough to be a natural habitat for life. It could be stable because whatever it's on top of keeps making more or because of its composition as long as it stays long enough to be populated.
By life I don't mean anything that already exists on earth as that would probably be impossible. Though it heavily depends on the foam itself, I imagined a kind of seaweed for the flora. As for animal life, I thought it could be something resembling a mix of a fish and a bird, light and agile enough to move around in the foam. Some animal which couldn't only live in the foam but spends most of its time in it is okay too (I'm thinking like whales who must come out of the water to breathe).
I'm thinking the animals could get their oxygen from the air bubbles foam contains, in fact, it already does on earth but on a much smaller scale. The main problem with sea foam is that it isn't stable and therefore would never be able to support animal life.
This is a follow up question from this primarily opinion-based question about other possible biomes.