Infinity is a term commonly used to refer to a quantity or distance that is so large it cannot be counted or measured. In mathematics, the idea of infinity forms an important part of set theory.