Kriging is an optimal interpolation technique that estimates values at unmeasured locations based on measured data from nearby locations. It assigns weights to surrounding data points based on their distances and spatial covariance, accounting for clustering of data points. Simple kriging assumes a known mean and estimates values as a weighted average of residuals from the mean at nearby locations, with weights chosen to minimize the estimation variance. The document provides an example of applying simple kriging to estimate porosity using six nearby data points.