This is probably Are You Afraid of the Dark?, a Canadian horror-anthology series for teens where the framing device was a group of kids who met in the woods to tell each other creepy stories.
The 'flashback' you mention would be the show cutting from the group to the story being told.
I believe this may be the episode "Jerry Was A Man" from the series "Masters of Science Fiction," an adaptation of a story by Robert A. Heinlein.
The short story includes a conversation just like what you describe:
"Siddown, young man!" Cargrew ordered. "Take your trade to those thumb-fingered idiots if you wish—but I warn you they couldn’t grow wings ...
Could also be Code Lyoko
It ran from 2003 to 2007.
Jeremy Belpois, a 12-year-old prodigy attending boarding school at
Kadic Academy, discovers a quantum supercomputer in an abandoned
factory near his school. Upon activating it, he discovers a virtual
world called Lyoko with an artificially intelligent girl named Aelita
trapped inside it. Jeremy ...
Possibly season 6 episode 14 of The Outer Limits title "Abaddon".
Black captain, female crew, prisoner, murders and The Outer Limits is usually somewhat mind screwy, your mileage may vary on amoral though.
Possibly season 5 episode 12 of The Outer Limits titled "Tribunal"
Aaron Zgierski, a lawyer and the son of Holocaust survivors, is investigating the Nazi war criminal who murdered members of his family. He gets help from a mysterious time traveler who is able to procure evidence from Auschwitz in 1944.
Aired in 1999 so not exact and the plot is not 100% ...
You didn't say it was Anime specifically (might want to edit your post if it is). This may be a long shot, but if it was public broadcast then it sounds a tad bit like Cyber Chase. The characters got pulled into the cyber world and at the end of each episode you would see the real life characters doing stuff at school, work, etc.
Like I said, seems unlikely,...
The discussion of the plausibility of creating a living Pegasus reminds me of the classic Robert A. Heinlein science fiction story "Jerry Was a Man", Thrilling Wonder Stories, October, 1947, which I remember did appear as an episode of a science fiction anthology television series.
Here is a link to a list of all the publications of "Jerry Was A Man".
The 1978 Doctor Who story "Underworld" features a generation ship, the P7E where most of the crew have been enslaved and provide food and fuel to the controlling entity on the bridge of the ship, which is accessed via a vertical shaft.
Most of the population live as slaves digging rock for fuel and sustenance, but they are culled and ...
It might be the Anime show .hack//Sign (2002, 26 episodes), or possibly one of the other shows in the dot-hack franchise.
From Wikipedia's page on .hack//Sign:
The series is set in a fictional 2009, introducing a computer virus called Pluto's Kiss as the cause of a massive Internet shutdown. [...] Two years later free access to the networks recovers, ...
Based on the OP's indication that it might be Trilogy of Terror, I'm going to post it as an answer.
You can see the scene where the female protagonist traps the voodoo demon here;
There was also a sequel to it, but I haven't seen it.
While the technological principles exist- we've seen explosives, bombs, fireworks, metallurgy, and large guns (as well as a variety of projectiles driven by explosions which are ostensibly non-gun guns... like the net-guns or shocking bolo disks fired from the mecha suits)- firearms would serve limited practical purpose in their world and culture. As an ...
Kinda sounds like it could be Digimon Adventure.
On August 1, 1999, seven children are transported into the Digital
World by Digivices that appeared before them at summer camp, where
they befriend several Digimon (Digital Monsters). The kids'
Digivices allow their partner Digimon to Digivolve into stronger
forms and combat enemies. ...
Could it be Chaotic?
Chaotic tells the tale of a teenage boy named Tom and his friend Kaz. They both play the Chaotic Trading Card/Online Game. Kaz always tries to tell Tom about a secret code to play for real which Tom refuses to believe. While playing online Tom receives the special password. When he enters the password into his game scanner he is ...