The planets closest to the star are rocky planets formed by elements with high melting points. Moreover, planets far away are gaseous planets and they are composed of elements with lower melting points.
<h3>Rocky planets and gaseous planets</h3>
The rocky planets consist of silicate rocks and/or metals, whereas gaseous planets are mainly composed of hydrogen and helium.
The rocky planets of the solar system include planets closest to the sun, i.e., Mercury, Venus, the Earth, and Mars.
The gaseous planets of the solar system include faraway planets, i.e., Jupiter, Saturn, Uranus, and Neptune.
Learn more about rocky planets here:
brainly.com/question/17428928