The nervous system communicates through electrical signals transmitted by neurons, while the endocrine system communicates through hormones, which are chemical messengers released into the bloodstream.