Up to about 1870 railroad rails were made of iron because the cost of making steel in quantity was prohibitive. Then the converters invented by Henry Bessemer got going and steel became much cheaper.
Iron has been used by human civilizations for over three millennia. The Iron Age saw the popularization of ironworking, as blacksmiths learnt to heat, hammer, and shape the metal into tools, weapons, ...