Rowling used her experience with depression, following her mother's death, to characterize the dementors and their ability to feed on human emotion.