The measurement or calculation of the chemical components and properties of a gas stream. It is needed to establish molecular weight, heating value, phase behavior, emissions, and equipment performance.