How does a cyanide pill kill you?

We’ve all seen in the movies and tv how a secret agent, when about to be captured, bites a cyanide pill and immediately dies, preventing interrogation.

Just how does it work?

need the answer fast.:wink:

In about 5 minutes, and very painfully.
I would imagine it feels like being suffocated.

It blocks the cytochrome c oxidase enzyme from working.

The movie Downfall showed Madame Goebbels poisoning her own children, where they appeared to expire very quickly and painlessly.