The medication is intended to treat particular sleep issue (insomnia). It could benefit you fall asleep quicker and remain asleep longer and reduce the frequency at which you awake during the night so that you sleep better. Temazepam is part of a group of drugs known as benzodiazepines.