Communicating cell–cell junction that allows signals to pass from a nerve cell to another cell. In a chemical synapse the signal is carried by a diffusible neurotransmitter; in an electrical synapse a direct connection is made between the cytoplasms of the two cells via gap junctions.