If we could time travel, we would be able to visit the past.
describe situations which exist only in our imagination. They describe hypothetical or unreal possibilities.
We call sentences like this Conditional Sentences, type II
Learn a bit more. Click on the following links:
You can learn more just watching The Big Bang Theory
Or maybe, you need to look at some explanations: