In this chapter, we explore the origins of cometary material and discuss the clues cometary composition provides in the context of the origin of our solar system. The review focuses on both cometary refractory and volatile materials, which jointly provide crucial information about the processes that shaped the solar system into what it is today. Both areas have significantly advanced over the past decade. We also view comets more broadly and discuss compositions considering laboratory studies of cometary materials, including interplanetary dust particles and meteoritic material that are potential cometary samples, along with meteorites, and in situ/remote studies of cometary comae. In our review, we focus on key areas from elemental/molecular compositions, isotopic ratios, carbonaceous and silicate refractories, short-lived radionuclides, and solar system dynamics that can be used as probes of the solar birth environment. We synthesize this data that points towards the birth of our solar system in a clustered star-forming environment.