The medication is a barbiturate often used for multiple purposes . Historically , it was as a treatment for sleeplessness, but now , its main applications involve assisted death in creatures and, less , as an anesthetic drug in particular animal procedures . It vital to understand that pentobarbital is a controlled substance and its application is