To escape from the Pokemon world, Twilight and her friends must go on a long journey to meet and befriend all 719 Pokemon (minus Porygon-2 and -Z) and also participate in all Pokemon championships.
Literally "Gotta Catch 'Em All".
This Pokemon story does include humans but not Ash Ketchum or any other main trainers like Misty or Brock.