The correct option is B Motor
An electric motor is an electrical device that converts electrical energy into mechanical energy.
A generator is a device that converts mechanical energy into electrical energy.
In the case of an electric bulb, the electrical energy is converted to light and heat.
Electric iron receives electric energy and converts it to heat energy.