Complex sentence: They eat mainly grass seeds and invertebrates, particularly insects during the breeding season and by gleaning and probing with most food taken from the surface or just below.
Split into simpler sentences: They eat mainly grass seeds and invertebrates, particularly insects during the breeding season. By gleaning and probing most food is taken from the ground surface or, just below.