In thermodynamics, a component is a chemically-independent constituent of a system. The number of components represents the minimum number of independent species necessary to define the composition of all phases of the system. Calculating the number of components in a system is necessary, for example, when applying Gibbs’ phase rule in determination of the number of degrees of freedom of a system.