The drug is a sedative primarily administered for multiple reasons . Historically , it functioned as a remedy for insomnia , but now , its principal applications include humane euthanasia in veterinary patients and, infrequently, as an anesthetic in certain creature treatments. It crucial to note that this drug is a controlled compound and its use