Photon is a packet of energy. It typically represents a quantum of light or some electromagnetic radiation. The concept is commonly discussed in wave mechanics and understandably so, as photon displays the properties of waves when in motion. It has a mass, but this mass is only noticeable when a photon is moving.
Electron is a mass. It is a sub-atomic particle and has a negative charge. An electron is typically found orbiting the nucleus, which is positively charged, on an atom. Electrons play a major role in atomic or molecular bonding. Electrons are considered to be the lightest particles in existence, having a mass only merely 9.11 x 10-31 kilograms. Most of the properties displayed by an electron are similar to that of particles. A travelling electron displays properties of a wave particle.