Classify the eight planets of Earth's solar system as rocky or gaseous, according to their primary composition.