In mathematics, an exclamation point (!) represents the factorial of a number. The factorial of a non-negative integer n is the product of all positive integers less than or equal to n. For example, the factorial of 5 (written as 5!) is calculated as 5 × 4 × 3 × 2 × 1, which equals 120. Factorials are commonly used in permutations, combinations, and other areas of mathematics to determine the number of ways to arrange or select items.