Final answer:
Bacteria form endospores in response to poor nutrient conditions. The endospore acts as a protective structure that helps the cell survive adverse environments. The cell wall and capsule of bacteria provide additional protection and attachment capabilities.
Step-by-step explanation:
Some bacteria form a thick-walled endospore in response to poor nutrient conditions. Unlike Archaea and eukaryotes, bacteria have a cell wall made of peptidoglycan and many have a polysaccharide capsule. The cell wall acts as an extra layer of protection, helps the cell maintain its shape, and prevents dehydration. The capsule enables the cell to attach to surfaces in its environment.