It maintains the shape of the cell. It protects the cell in a hypertonic environment. It contains teichoic acids. None of these. Endospores are for reproduction.
Endospores allow a cell to survive adverse environmental changes.
Endospores are heat sensitive. A cell produces one endospore and keeps growing. A cell can produce many endospores. It may be composed of polysaccharide. It may be composed of polypeptide.