This question already has an answer here:
If I had money, I would buy a car.
I know that けど means "but," "however" or "although".
Why is it used in the sentence above? How is the sentence different from the one below?