Is 2 or 8 prime numbers?

A prime number is a number thats only factors are 1 and itself.

So find the factors of 2. They are 1, and 2. So 2 is prime.

A composite number is a number that has more than a pair of factors.

So find the factors of 8. They are 1, and 8. They are 2, and 4. 8 has more than 1 pair of factors. So it is composite