Various theories of ore genesis explain how the various types of mineral deposits form within Earth's crust. Ore-genesis theories vary depending on the mineral or commodity examined. Ore-genesis theories generally involve three components: source, transport or conduit, and trap. (This also applies to the petroleum industry: petroleum geologists originated this analysis.) The biggest deposits form when the source is large, the transport mechanism is efficient, and the trap is active and ready at the right time.