The hypothetical objects, from tens to hundreds of kilometers in diameter, that formed in the solar nebula as an intermediate step between tiny grains and the larger planetary objects we see today. The comets and some asteroids may be leftover planetesimals.