A coupling is the device used to connect locomotives and rollingstock together in a train.