The information received by the dendrites of neurons present at receptors is transferred in form of electrical impulse to the cell body, axon and the nerve endings at the ends of axon. At the axonal ends, chemicals are released between junction of two neurons called synapse. The chemical diffuses towards the dendrite of the next neuron where it generates an electrical impulse again. So, the electrical signals change to chemical signals and again to electrical signals for the next neuron.
Since the chemicals Eire released at the axonal ends and absent at dendrite end, the signal travels from axonal end to dendritic end of another neuron but not the reverse i.e., the flow of electrical impulse is unidirectional only.