why planets do not collide while revolving around the sun
Every planet moves in a fixed (almost) circular orbit around the Sun separated from each other by some distance, moving in almost parallel paths.
This is the reason why they do not collide, although it can happen due to external gravitational disturbances.