What would you call track and rail in French? Track is the whole thing, while rail is a piece of metal e.g. on the right.
You can see an exemple of track on this picture, and an exemple of rail on this one.
My suggestions are:
track - voie ferrée f
rail - rail m
Thank you.