London Underground 1972 Bakerloo tube stock train - on the left is part of an 'uncoupling driving motor' car (UNDM) and on the right is part of a "driving motor" car (DM).
Both of these have electric motors which help power the train but only the DM also has a driver's cab. Original public domain image from Flickr