One role of the petrophysicist is to characterize the fluids encountered in the reservoir. Detection of a change in fluid type in the rocks while drilling is usually straightforward with the use of gas and chromatographic measurements. Gas shows and oil shows while drilling are time-honored indicators of zones that need further investigation through logs, testers, and cores. In the rare case of gas-bearing, high-permeability rock drilled with high overbalance, gas will be flushed from the rock ahead of the bit, will not be circulated to the surface in the mud, and will not produce a gas show. Because hydrocarbons are not always part of a water-based-mud formulation, sophisticated analytical chemical techniques can be used on the oil and gas samples circulated to the surface and captured to determine the properties of hydrocarbons in a given zone penetrated by the drill bit.