During unfavourable condition spore formation occurs in bacteria and fungi. It is a method of asexual reproduction.