Pathetic fallacy refers to the attribution of human traits to nature or inanimate objects.