Petrology is the science of rocks, including igneous, metamorphic, and sedimentary rocks, as well as the processes that shape and modify them. It's a branch of geology that focuses on chemical analysis in areas like petrography and mineralogy. Modern petrologists can determine the origins of rocks and their chemical features by combining numerous geophysical and geochemical approaches. Petrology is divided into three sections based on the primary rock types: sedimentary, igneous, and metamorphic. Petrology is crucial for determining the physical and chemical composition of rocks, as well as the various factors that impact their creation. Modern petrologists use mineralogy knowledge to aid in the mapping and sampling of rocks. Because most rocks are made up of minerals and developed under similar conditions, petrology significantly relies on mineralogy ideas and procedures.