How does the brain send messages to the rest of the body?

if i am correct the brain sends messages to the rest of the body by sending pulses down your spine where it connects to the brain. most of the major parts in your body are connected somehow to the spine. the messages break off from the spine and get sent to the rest of the body.