Electricity is just the flow of electrons or charges from a point of production through a conductor, to another point where it can be utilized or converted to another form of energy.
Magnetism is the force exerted by magnets when they attract or repel each other. Magnetism is caused by the motion of electric charges from two or more magnetic substances.