What is a prime number?
Any number greater than 1 which has exactly two factors (1 and the number itself) is called a prime number.
Example: ‘2’ has factors (1 and 2 only) that's why it is a prime number.