Serotonin is a chemical that is produced both in cells of the gastrointestinal tract as well as the nerves of the brain. In the brain, serotonin plays a role in the regulation of mood: people who are depressed often have low levels of serotonin. In the rest of the body, serotonin causes blood vessels to dilate and plays a role in inflammation.