Sodium pentobarbital is a barbiturate primarily used for various purposes . Historically , it was as a treatment for sleeplessness, but today , its principal uses encompass assisted death in creatures and, less , as an anesthetic in certain creature operations . This important to remember that this drug is a controlled substance and its application