# Why is disodium acetylide considered as an organic compound? [duplicate]

Even though disodium acetylide ($\ce{C2Na2}$) has carbon bonded with metal atoms and does not have a single carbon hydrogen bond in it, why is it considered as an organic compound? If this is an organic compound then why don't we call $\ce{CO2}$ an organic because it can also be produced from reacting organic compounds?