An electric current passing through a conductor causes several effects: it produces heat due to the resistance of the material; it can emit light such as in a light bulb filament; and it generates a magnetic field around the conductor. The heat effect occurs because conductors have resistance, creating friction that heats the material over time according to the formula heat equals current squared times resistance times time.