Cast iron is not the same as wrought iron. They are both iron ores but with different compositions and fabrication methods.
Cast iron is made by melting iron ore and then pouring it into a mold, where it is allowed to cool and solidify. The cast iron is composed of iron with 2% to 4% carbon. The higher carbon content makes cast iron harder and more brittle than wrought iron. Cast iron is very strong and not easily bent or shaped, making it great for structural components, such as beams and columns.
Wrought iron is made by heating iron ore and then hammed into shape by a blacksmith. Wrought iron is composed of iron with 0.1% to 0.25% carbon. The lower carbon content makes wrought iron a softer, more malleable material. Wrought iron can be bent and shaped easily, making it a great choice for custom-designed fencing