Sentence construction with relative clauses
Relative clauses give more information about a noun or pronoun in the superordinate clause. Relative clauses generally come directly after the word to which they refer (the antecedent), separated by a comma. So, the superordinate clause can be interrupted by the subordinate clause. This does not change the word order of the superordinate clause. Look at the example. In both clauses, Rotwein is the antecedent. The relative clause comes immediately after it.
Relative clause after the superordinate clause:
Das ist der Rotwein, der auf der Speisekarte steht.
Relative clause in the superordinate clause:
Der Rotwein, der aus dieser Region kommt, schmeckt besonders gut.
If the superordinate clause continues after the relative clause, there is also a comma at the end of the relative clause.