Near-earth objects are the comets and asteroids that are pushed by the gravitational attraction of the nearby planets such that they enter the orbit of these nearby planets. The composition of near-earth objects is water/ice with dust particles. The comets are originally formed in the colder outer part of the solar system, while the asteroids are formed in the warmer inner part between the orbits of Mars and Jupiter in the solar system.