In astronomy, the column density is generally used to indicate the number of atoms or molecules per square cm (cm) along the line of sight in a particular direction, as derived from observations of e.g. the 21-cm hydrogen line or from observations of a certain molecular species. Also the interstellar extinction can be related to the column density of H or H 2.