Because metal conducts electricity
Electrical conductivity is the deliberate measure of current made on a metal target's surface. All the more basically, it is the manner by which effortlessly an electrical current can move through a metal.
Metal molecules have external electrons which are not fixing to any one atom. These electrons can move openly inside the structure of a metal when an electric current is connected.