Carbon

is one of the resources in Astroneer and can be obtained by trading resources on the Trade Platform, through the Research Station, or by mining it on planets. It can be used by a Generator to produce power.

Coal can be found in veins on the surface of Exotic Planets, found deep under ground on Terran, Barren, and Tundra Planets, or anywhere on Radiated Planets.