The nervous system is the part of an animal's body that coordinates the voluntary and involuntary actions of the animal and transmits signals between different parts of its body. Nervous tissue first arose in wormlike organisms about 550 to 600 million years ago. In most types of animals it consists of two main parts, the central nervous system (CNS) and the peripheral nervous system (PNS). The CNS contains the brain and spinal cord. The PNS consists mainly of nerves, which are long fibers that connect the CNS to every other part of the body. The PNS includes motor neurons, mediating voluntary movement, the autonomic nervous system, comprising the sympathetic nervous system and the parasympathetic nervous system and regulating involuntary functions, and the enteric nervous system, a semi-independent part of the nervous system whose function is to control the gastrointestinal system.
At the cellular level, the nervous system is defined by the presence of a special type of cell, called the neuron, also known as a "nerve cell". Neurons have special structures that allow them to send signals rapidly and precisely to other cells. They send these signals in the form of electrochemical waves traveling along thin fibers called axons, which cause chemicals called neurotransmitters to be released at junctions called synapses. A cell that receives a synaptic signal from a neuron may be excited, inhibited, or otherwise modulated. The connections between neurons form neural circuits that generate an organism's perception of the world and determine its behavior. Along with neurons, the nervous system contains other specialized cells called glial cells (or simply glia), which provide structural and metabolic support.
Magnesium is a chemical element with the symbol Mg and atomic number 12. Its common oxidation number is +2. It is an alkaline earth metal and the eighth most abundant element in the Earth's crust and ninth in the known universe as a whole. Magnesium is the fourth most common element in the Earth as a whole (behind iron, oxygen and silicon), making up 13% of the planet's mass and a large fraction of the planet's mantle. The relative abundance of magnesium is related to the fact that it easily builds up in supernova stars from a sequential addition of three helium nuclei to carbon (which in turn is made from three helium nuclei). Due to magnesium ion's high solubility in water, it is the third most abundant element dissolved in seawater. Magnesium is produced in stars larger than 3 solar masses by fusing helium and neon in the alpha process at temperatures above 600 megakelvins.
The free element (metal) is not found naturally on Earth, as it is highly reactive (though once produced, it is coated in a thin layer of oxide (see passivation), which partly masks this reactivity). The free metal burns with a characteristic brilliant white light, making it a useful ingredient in flares. The metal is now mainly obtained by electrolysis of magnesium salts obtained from brine. Commercially, the chief use for the metal is as an alloying agent to make aluminium-magnesium alloys, sometimes called magnalium or magnelium. Since magnesium is less dense than aluminium, these alloys are prized for their relative lightness and strength.