
When rails, chains, minecarts, and other things made with iron have no use but you have no iron, you can just use a hammer to break it and you'll get a different amount of iron depending on which hammer you use.
Disclaimer: hammers currently do not serve any function yet; they only work as placeholders for future implementation.