In the perception of stimuli from the external and internal environment there is an objective and subjective side. Any sensory signal, regardless of its modality, is transformed into receptors into a pattern of action potentials. The brain distinguishes types of stimuli only because sensory systems have the property of specificity. For each sensory system, there is a specific type of stimulus (adequate stimuli), sensitivity to which is many times higher than to inadequate stimuli. For example, retinal receptors react to electromagnetic oscillations from 400 to 800 nm. The brain perceives signals from these receptors in the form of visual sensations. But with a random impact on the eye, visual sensations also appear, but they are primitive and develop with a considerable greater strength of the stimulus.