The name derives from the name of the largest class of warship, the ship of the line, as opposed to smaller types of warship (corvettes and frigates).
The term is derived from the designation of the biggest type of warship, the ship of the line, unlike more diminutive vessels such as corvettes and frigates.