Which compound is formed when iron reacts with carbon?
A black coloured magnetic compound X is formed when iron reacts with oxygen or air. What is X?