Personification is used to attribute human-like characteristics or emotions to an inanimate object, in this case, the bed. The personification in the text occurs when the bed is described as "whining" when the narrator climbs out of it, and being "reluctant" to let go of them. These descriptions anthropomorphize the bed, giving it human emotions and actions.