its all in the structure.
diamonds are primarily used as jewellery due to its visual appeal OR strong drills due to diamond's hardness
graphite is an electrical conductor and so used in batteries and aluminium from ores. also used in lead pencils described by exploitable (each carbon atom is only bonded to 3 others so it forms planes which is what is rubbed off the pencil)