What is the meaning of Ship_of_the_line_captain?

Highest senior officer rank used in the navies of some Romance-speaking and European countries, usually equal in rank to the Anglophone rank of captain.

Source: wiktionary.org