The main difference is that prime numbers have only two divisors, whereas composite numbers have more than two.