What are the links between the energy that carnivors get from eating to the energy captured by photosynthesis?

The links between the energy that carnivores get from eating to the energy captured by photosynthesis is the food chain. Oxygen is a by produce of photosynthesis.