Squirrels are primary consumers in the food chain. They eat plants (producers) and are eaten by secondary consumers like hawks, owls, snakes, and foxes.
This places squirrels in the middle of the food web, playing a vital role as both herbivores and prey.