Asteroids embody the story of our solar system's beginning. Jupiter's Trojan asteroids, which orbit the Sun on the same path as the gas giant, are no exception. The Trojans are thought to be left over from the objects that eventually formed our planets, and studying them might offer clues about how the solar system came to be.
source https://phys.org/news/2021-10-sun-affects-asteroids-neighborhood.html