Groundhogs are herbivores whose diet consists mainly of plants, including grasses, clover, alfalfa, dandelions, and other broad-leaved plants. They also enjoy fruits and vegetables such as apples, pears, carrots, and corn. Occasionally, they may eat insects like grasshoppers and beetles.