What English uses the word for now
In everyday English, train is two common words that happen to share a spelling. One is the line of coupled railcars, or the service that carries people along a track. The other is the verb of practice and discipline: you train a dog, a runner, a recruit, or a statistical model. A few older senses still sit in plain sight beside them. A wedding gown has a train. A monarch travels with a train of attendants. Ideas arrive in a train of thought. Wagons once crossed a continent in a wagon train. Those uses look scattered until you notice what they share: something drawn along, or a succession of things that follow.
The origin of the word train is that picture of dragging, not the steam engine.
A French borrowing for what follows behind
English did not inherit train from Old English. It borrowed the noun in the fourteenth century from Old French, after Norman French had already been spoken in England for generations. Old French had a masculine train that could mean a trail or path, the act of dragging, or a series of people, animals, or things on the move. A related feminine form named something hauled behind, including the long back of a robe. Both sat on the verb trainer (modern French traîner): to pull, drag, or draw.
By the late 1300s English already used the noun for the trailing part of a skirt, gown, or cloak, and for a retinue or procession. An even earlier Middle English sense, now obsolete, meant delay: time drawn out, as if dragged. Dictionaries do not agree on every detail of the French input. The Oxford English Dictionary treats the English noun as coming from more than one French form, and partly from conversion of the English verb. The outline is still clear. English took a French family of words for hauling and for what comes after.
The verb rode in on the same route. Late Middle English traynyn meant to pull or drag in the rear. From that literal haul later senses grew: to trail, to bring an instrument to bear, and to shape a living thing by drawing it into a chosen form.
Latin trahere, then a blur
Old French trainer is traced to a reconstructed Vulgar Latin traginare, built on tragere, to pull. That spoken verb is explained as a back-formation from tractus, the past participle of classical Latin trahere, to pull or draw. American Heritage, Etymonline, and Dictionary.com all follow this line, with small differences of reconstruction. Dictionary.com also posits an unattested tragina, something dragged, compared with Medieval Latin tragina for a carriage.
In English the word is morphologically plain. It is not a native prefix plus root plus suffix. The work happened one language earlier, when spoken Latin remade trahere into a drag-verb that French then kept.
Beyond Latin the trail is uncertain. Some handbooks, following Calvert Watkins, reconstruct a Proto-Indo-European tragh- meaning to draw, drag, or move, and they list possible relatives such as a Slovenian word for a trace and an Old Irish word for the ebb of the tide. Other specialists, including Michiel de Vaan, treat connections outside Italic as difficult. A link to English drag and draw is sometimes offered through a variant with a different initial consonant, but that needs irregular sound changes and is not settled. The safe stopping point is Latin trahere.
English already owns a learned set of cousins from the same Latin verb, arrived by other routes: tract, traction, attract, extract, contract, trait, and trace. Train is the everyday French member of that family, not a later coinage from tract.
Romance languages kept the drag-verb too: Italian trainare, Spanish trajinar. The railway nouns Spanish tren and Italian treno are later, specialized borrowings, not the medieval source of English train.
How the senses spread
Once English had a noun for what is drawn behind, the meaning spread along that metaphor rather than jumping. Middle English used train for a chalk line, a drawing-rope, food threaded together, and even a line of ancestry. A military baggage train and a wagon train keep the procession sense. Train of thought treats ideas as a linked succession that snaps if you lose the next car. Clockmakers by 1797 called a set of wheels that pass motion along a train. A powder train was a line of gunpowder laid to carry fire to a charge. A bird’s long tail could be a train as well.
The railway meaning is late. It is recorded from about 1816 to 1820, when a mechanical engine began pulling a trailing succession of wagons or carriages. The noun was already waiting. English had trains of vehicles; steam only fixed the image onto rails. The intransitive verb of travel, to train to a city, appears in the 1850s.
The educational verb is older than locomotives and younger than the gown. By the mid-fifteenth century, gardeners trained vines and branches, bending growth into shape. By the 1540s, to train a person meant to bring someone by instruction and discipline to a desired condition: the same drawing-into-form, applied to habit instead of wood. Training oneself is attested around 1600; the specifically athletic regimen is nineteenth-century. Aiming a firearm or camera, training it on a target, is recorded by 1841: you draw the instrument to bear.
A separate obsolete noun train, meaning treachery or a snare, came from Old French trahine and trahir, to betray, from Latin tradere, to hand over. In Middle English it looked like the dragging word and sometimes mixed with phrases about lures and traps. It is a different etymon, not an older sense of the railway word.
The dress is the older fact
Modern French still splits what English flattened. Train is the railway, and also pace or manner of going. Traîne remains the trailing part of a dress. English folded those into one spelling, then let industry and schools take over the common meanings. The fabric that still follows a bride is not a nickname borrowed from locomotives. It is the older use, still doing the Latin verb’s work: being drawn along behind.