The hair dryer contains a coil of wire which is used to heat air passing through the hair dryer. Explain why the coil of wire heats up when there is a current in it.​