Jupiter is composed primarily of hydrogen and helium. Under equilibrium conditions, the abundant chemically active elements are all expected to combine with hydrogen.Thus, during earlier study of Jupiter, it was surmised that methane, ammonia, water, and hydrogen sulfide would be present. Except for hydrogen sulfide, all these compounds have been found by spectroscopic observations from Earth.