The kinetic energy and potential energy are the two types of the mechanical energy. The generators are used to produce electricity, which is basically the electrical energy. Hence, the generators convert kinetic energy (mechanical energy) into the electrical energy which is supplied to our homes.
Hence, the correct answer is: Mechanical energy to the Electrical energy