"Ghost Machine" is the third episode of the first series of the British science fiction television series Torchwood, which was broadcast on the digital television channel BBC Three on 29 October 2006. Set in Cardiff, the episode involves a group of alien hunters called Torchwood discovering an alien machine that shows visions of strong emotional events from the past and future.