We factor out primes from 32 to find it's prime factorization.
32=2*16=2*2*8=2*2*2*4=2*2*2*2*2. 2 is a prime number, so this cannot be reduced further. Since we have five twos and no other primes, the factorization is 2^5, and the only prime factor is 2.