A dc motor works on dc supply and has commutator in place of slip rings in Ac motor .
Now if you wish that you could amke one on your own , so we’ll help you out . You’ll need following stuff :- An insulated copper wire, battery, pins and magnets . Now connect the edges of pins with terminals of battery and make a coil and remove insulation of wire at final edges and now place battery at bottom of magnets and stick pins on its two side now on rings of pins place copper coil’s two edges and see it will rotate ..
Done ,see how simple it was try it and share it with other .
Knowledge is only useful when we share it as money is useless if you lock it and didn’t use it.
See video – click the link provided.