Neptune and Uranus, often called “ice giants,” are composed primarily of hydrogen, helium, water, ammonia, and methane. Methane, in particular, plays an important role in the formation of diamond rain. Under extreme pressures and temperatures deep within these planets, methane molecules break apart, releasing carbon atoms that crystallize into diamonds. These diamonds then fall down as rain, falling toward the planet’s core, creating what scientists describe as “diamond rain.”