which is the anode and which is the cathode?
An anode is an electrode through which conventional current (positive charge) flows into the device from the external circuit, while a cathode is an electrode through which conventional current flows out of the device.