Which of these is NOT a result of gravity?
A.Planets orbit the Sun.
B.Galaxies attract other galaxies.
C.Moons and rings orbit some planets.
D.Stars create their own energy while planets and moons do not.