Have you ever wondered how planets, like our own Earth, got the air they breathe? It all starts with a giant cloud of gas and dust called a nebula. But how do these swirling clouds transform into the diverse atmospheres we see across our solar system? Is it leftover gas from the star's formation, or something captured later? Does a planet's size or distance from the sun play a role?