Spores are produced by bacteria, fungi, algae, and plants. Bacterial spores serve largely as a resting, or dormant, stage in the bacterial life cycle, helping to preserve the bacterium through periods of unfavourable conditions.