Animals and plants give out carbon dioxide via respiration. Fossil fuels give off carbon when they're burned, mainly as carbon dioxide gas. That carbon is also absorbed by producers to make carbohydrates in photosynthesis. And animals eat that plant making the carbohydrate.
I hope this helps!