Actually, "Trick or Treat" represents a threat from the dead. Either the dead person plays a nasty Trick on you, or you appease them with a Treat - candy, in most cases. The same concept is used in cultures that offer gift offerings and/or food to the dead. Some cultures advise leaving food and flowers on the graves for the dead to avoid being attacked by the deceased.