Barbiturates work by depressing (slowing down) the activity of nerves, muscles, heart tissue, and the brain. They are part of a class of drugs called the sedative-hypnotics, which can alter a person's mood and are generally prescribed for relaxation and sleep