In rare cases, planets can form through a collision between two or more large objects in the solar system.