The whole clause takes a sentence role.
A free relative clause can function without a separate reference noun. Its pronoun has a role inside the clause; the whole clause has a role in the main sentence.
Hinglish hintWer-clause ka apna subject/object dekho; poora clause main sentence mein ek role leta hai.
Use a clause as subject
The people who read carefully are expressed by the whole wer-clause.
Wer Hilfe braucht, dem helfe ich.
Aha! See the common trap
Not thisWer Hilfe braucht, den helfe ich.
Try thisWer Hilfe braucht, dem helfe ich.
Helfen takes a dative recipient in the main clause, so the resuming pronoun is dem, even though wer is nominative inside its own clause.
More examples, less guessing
Wer sorgfältig liest, erkennt den Unterschied.Whoever reads carefully recognises the difference.
Was du sagst, interessiert mich.What you say interests me.
Wem ich vertraue, helfe ich.I help those whom I trust.