This phrase introduces an event that happened in the past, but does not state the specific time. Many languages have a similar way to begin telling a true story.
The grain was wheat, which has a head of many small grains, or seeds, on the top of a thin stalk. **Threshing** is separating the seeds of the plant from the stalks by beating the heads of grain. The seeds are food, but the stalks are not.