I can't remember if it was in the novel (it was is Thomas Harris' Red Dragon, though). Pretty much just a way to torture a male child--the thought makes me sick to my stomach--and maybe her husband became attached. Pain and pleasure got confused.
Now I want to throw up. Child abuse is one of the things I have a very hard time stomaching in a book/movie.