Receptor cells function by transducing external stimuli into electrical signals. This process involves a stimulus interacting with the receptor, causing a change in the receptor's membrane potential. This change can generate an action potential that travels along sensory neurons to the brain, where it is interpreted as a specific sensation.