Yes, carbon comes from Helium burning stars, specifically supergiants that have burnt away most of their hydrogen.