Fungi such as Sclerotinia or some Rhizoctonia form these little balls on diseased plants. They fall to the ground and wait for a susceptible crop to come back; that is why affected debris should be removed rather than composted, and crops rotated.
Concept
Sclerotium

Mari· about sclerotium
A small, hard, dark ball that some fungi use to survive in the soil for years.
