Rectifier is an electrical conductor that allows current to flow through it in one direction only, thus enabling the conversion of AC to DC. The commonest type of rectifier is the semiconductor diode, which consists of a single p−n junction.
While a photoelectric cell is a device to convert light energy directly into electric energy. While electric generator is a device used to convert mechanical energy into electrical energy.