The terrestrial planets are made almost entirely of elements heavier than hydrogen and helium. According to modern science, where did the elements heavier than hydrogen and helium come from?