A fox is a secondary consumer.
In an ecosystem, secondary consumers are organisms that eat primary consumers (herbivores). Foxes are typically carnivores or omnivores, meaning they eat other animals, such as rabbits (primary consumers), rodents, and sometimes plants. Since foxes often prey on herbivores, they are considered secondary consumers in the food chain.