How do planets orbit the sun perfectly level with each other and also is the same rotation around the sun as the photos and diagrams show?

How do all the planets orbit the sun on the same axis and same rotation around the sun?
15 answers 15