What are endospores?

Endospores are dormancy capsules formed by certain species of bacteria of the phylum Firmicutes. The formation of endospores is analogous to going into hibernation to survive nonideal conditions, such as lack of nutrients or cold. Within a dormant state, encased in an endospore, a bacterium may remain alive significantly longer than it could otherwise.