NMR logging uses nuclear magnetic resonance to infer properties of rock formations such as porosity, permeability, and fluid distributions. It works by applying a magnetic field to align hydrogen proton spins, then measuring the decay of the signal as the spins relax. This decay provides information about pore sizes and fluid types. Main advantages are lithology-independent porosity and improved permeability estimates compared to conventional well logs. Limitations include cost, speed, and shallow depth of investigation. Recent advances aim to improve resolution and differentiate fluid and rock properties.