Reservoir engineering involves estimating oil and gas reserves within underground formations. Reservoir engineers determine the volume of hydrocarbons originally in place and the fraction that can be recovered using production methods over time. Estimating reserves requires understanding properties like porosity, which is the proportion of void space within a rock that can contain fluids. Porosity values are measured through lab analysis of core samples and well logs, and can range widely between reservoir types and impact recoverable volumes.