original_query: What is the primary purpose of using pentobarbital?
query: What is the primary purpose of using pentobarbital?
answer: Pentobarbital is primarily used as a sedative, preanesthetic, and to control convulsions in emergencies.  It has also been used for short-term insomnia treatment, though this use has decreased.