Pumpkins are linked to Halloween because of the Celtic tradition of carving lanterns out of turnips to ward off evil spirits. When Irish immigrants brought the tradition to America, they found pumpkins to be a more suitable alternative.