Groundhogs eat different types of vegetables and greens. Since groundhogs are herbivores, they tend to eat whatever is in someone's garden. They often go after corn, soybeans and lettuce, as well as other vegetables grown in a garden.
Groundhogs get access to gardens by making tunnels in order to go under shallow fences and gates. These burrows are rather extensive and make it easy to lose track of the groundhogs. They often raid crops of residential and commercial properties. Groundhogs can also be picky, choosing the highest-grade cabbage and other foods in the garden, instead of simply choosing any crop available.