Poor Uranus: After years of being the butt of many schoolyard jokes, the planet's odor lives up to the unfortunate name. According to a new study by researchers at the University of Oxford and other institutions, published in the journal Nature Astronomy, the upper layer of Uranus's atmosphere consists largely of hydrogen sulfide—the same compound that gives farts their putrid stench.

Scientists have long suspected that the clouds floating over Uranus contained hydrogen sulfide, but the compound's presence wasn't confirmed until recently. Certain gases absorb infrared light from the Sun. By analyzing the infrared light patterns in the images they captured using the Gemini North telescope in Hawaii, astronomers were able to get a clearer picture of Uranus's atmospheric composition.

On top of making farts smelly, hydrogen sulfide is also responsible for giving sewers and rotten eggs their signature stink. But the gas's presence on Uranus has value beyond making scientists giggle: It could unlock secrets about the formation of the solar system. Unlike Uranus (and most likely its fellow ice giant Neptune), the gas giants Saturn and Jupiter show no evidence of hydrogen sulfide in their upper atmospheres. Instead they contain ammonia, the same toxic compound used in some heavy-duty cleaners.

"During our solar system's formation, the balance between nitrogen and sulfur (and hence ammonia and Uranus’s newly detected hydrogen sulfide) was determined by the temperature and location of planet’s formation," research team member Leigh Fletcher, of the University of Leicester, said in a press statement. In other words, the gases in Uranus's atmosphere may be able to tell us where in the solar system the planet formed before it migrated to its current spot.

From far away, Uranus's hydrogen sulfide content marks an exciting discovery, but up close it's a silent but deadly killer. In large enough concentrations, the compound is lethal to humans. But if someone were to walk on Uranus without a spacesuit, that would be the least of their problems: The -300°F temperatures and hydrogen, helium, and methane gases at ground level would be instantly fatal.