Answer
Organic compounds are principally sourced from carbon-based sources such as petroleum, coal and natural gas (fossil fuels).
---
Yes, Carbon Dioxide could be the source of all naturally occurring organic compounds.
Work Step by Step
Organic compounds can also be sourced from plants and animals for the proteins, fats, carbohydrates, vitamins, etc., present within them.
---
Fossil fuels are essentially dead plants, and since plants source their carbon from Carbon Dioxide, $CO_{2}$ can be considered to be the source of all naturally occurring major organic compounds.