They are like Lego. In solution (when wet), they connect at the right temp called the habitable zone (AKA the Goldilocks zone) and make all of the amazing lifeforms we are.
It's only temporary, as planets heat up or cool down out of the said zone. Planets lose their magnetic fields and the oceans eventually dry up.
Mars was teeming with life when it had oceans.
It's a shame that people are at war, when you think about the temporary gift we have been given.