A metal contains a large number of free electrons and they are in motion. Then why there is no current in a piece of wire which it is not connected to a cell?
The free electrons move at random. They move in all possible directions. There is a continuous changen in direction due to their collision with the positive ions of the metal. So the net charge flowing in a fixed direction is zero