  The data obtained in the recent Rosetta space mission to comet
67P/Churyumov-Gerasimenko have had a profound impact on the understanding of
the nature of comets. In addition to revising the notions on the physical
properties and structure of comets, this addresses dynamical aspects of the
formation of the observed cometary populations (short- and long-period comets,
Centaurs, trans-Neptunian objects, and Oort-cloud objects). In the review, we
discuss new problems that have appeared in the theory of dynamical evolution
and origin of comets due to the Rosetta mission.
