Electricity must travel through matter. All matter offers some resistance to the flow of electrons in an electric current. Some materials resist current more or less than others.
Materials that have low resistance to electric current are called electric conductors. Many metals are good electric conductors.
Materials that have high resistance to electric current are called electric insulators. Wood, rubber, and plastic are good electric insulators.
When more than one material is available for electric current to flow through, the current always travels through the material with the least resistance.