It is a stand-alone word that can be used as a noun, verb, or adjective, depending on the context.
Examples:
* Noun: "The train ran along the rail."
* Verb: "They railed against the unfair policy."
* Adjective: "The rail fence surrounded the property."