Here's how to understand it:
1. Dependent clause before independent clause:
* Example: "Even though it was raining, we decided to go for a walk."
* Explanation: "Even though it was raining" is a dependent clause because it can't stand alone as a complete sentence. The independent clause is "we decided to go for a walk." You need a comma here because the dependent clause comes first.
2. Independent clause before dependent clause:
* Example: "We decided to go for a walk, even though it was raining."
* Explanation: "We decided to go for a walk" is a complete sentence (independent clause). "Even though it was raining" is a dependent clause. You don't need a comma here.
In short:
* Comma before "even though" when it introduces the clause: Even though...
* No comma before "even though" when it's within the clause: ...even though...