why is the electron the part of the atom that moves when an electric current flows?

This isn't always true. In electrolyte solutions, ions can also flow. In solids, the atoms are not free to move but some of the electrons in conductors can break free and move around.