This question already has an answer here:
In most languages, gender plays a much more important role than in English. Nevertheless, it is possible to refer to a noun using its gender.
The ship was launched on 4 October 1853. Tayleur left Liverpool on 19 January 1854, on her maiden voyage.
How does one know that "ship" is feminine? Are there masculine nouns?