once there had been millions of similar drifting objects of various sizes , shapes , and compositions in the solar system that included earth , building blocks for planets and moons , but after many eons most that ventured relatively near the sun were gone : combined with planets or with the sun itself such that their identities were forever lost .