Transduction:

occurs when a sensory receptor converts a type of stimulus energy (e.g. photon, sound wave) into an electrical impulse that can be interpreted by the brain.