Ice makers work by using an electric motor, an electrically operated water valve, and a heating device. The motor spins a metal or plastic ice tray, which is filled with water from the water valve. The heating device warms the bottom of the tray, melting the ice cubes slightly so that they can be released from the tray and into the ice bin.