Why do we use insulated copper wire while making electromagnets ?
To avoid short circuit
If the wire was not insulated, electricity would not flow around the coil but instead would short-circuit the fastest way to ground which would not be around the coil.