In a molecule, lone pairs are non-bonding pairs of electrons. You can determine if a compound has lone pairs by looking at its Lewis structure or using VSEPR theory to predict its molecular geometry. Lone pairs are usually represented as pairs of dots in Lewis structures. In VSEPR theory, lone pairs affect the shape of the molecule, often causing deviations from ideal geometries.