Giant pandas are herbivores whose diet consists primarily of bamboo. They spend much of their day eating—sometimes up to 12 hours—and consume different bamboo species depending on nutritional value and preference. While they may occasionally eat grasses, fruits, or insects, bamboo makes up the vast majority of their diet.