Questions & Answers about Det är trappan som barnen leker i när det regnar ute.
This is a cleft sentence (in Swedish: klyvd sats).
- Det är trappan som barnen leker i ... ≈ It is the stairs that the children play in ...
- The cleft structure is used to emphasize or contrast the noun trappan: that place, and not some other place.
- The more neutral version is simply: Barnen leker i trappan när det regnar ute.
So the meaning is essentially the same, but the cleft form highlights trappan as the important or contrastive information.
Here det is a dummy subject, not a pronoun standing for trappan.
- In cleft sentences, Swedish almost always uses det:
- Det är jag som ringer. – It’s me who is calling.
- Det är boken som jag vill ha. – It’s the book that I want.
- The det in this pattern does not agree in gender with the focused word (trappan). It’s a fixed construction: Det är X som ....
So you should not say Den är trappan som ...; that would be ungrammatical.