Factorial is the product of an integer and all the positive integers below it. It is denoted by the exclamation mark (!). For example, the factorial of 5 (5!) is calculated as 5 × 4 × 3 × 2 × 1, which equals 120.