A Month of Ghosts

From August the 12th / 13th until September the 10th this year, it's Ghost Month or Hungry Ghost Month in China, with the Hungry Ghost Festival on August the 26th / 27th. But what does this all involve, and what led to its customs and traditions?