When food is scarce, either the sexual cycle or the social cycle begins. Under the social cycle, amoebae aggregate in response to cAMP by the thousands, and form a motile slug, which moves towards light. Ultimately the slug forms a fruiting body in which about 20% of the cells die to lift the remaining cells up to a better place for sporulation and dispersal.