The study of mineral deposits that contain some valuable commodity in order to determine how they were formed. The aim is to discern those particular processes that result in the formation of valuable deposits rather than ordinary minerals of no economic importance.