Why do some types of bacteria form spores?

a
to increase the rate of reproduction
b
to increase their genetic diversity
c
to protect their DNA during unfavorable conditions
d
to convert organic molecules into energy