A time machine is a device that makes it possible to travel through time. It can be a fictional device or a device based on scientific theories. Time machines are often described in science fiction literature and films, but there are also some scientific theories that suggest it may be possible to build a time machine.