The planets of our Solar System vary considerably, with some being a fraction of Earth's diameter, and others many times…