How does the time machine work?

Time machine doesn't work, but in the movies the machine has these engine and these gears that pushes the machine into space so it can reverse the time and or goes forward.