Why does author use so difficult grammatical construction?

Hello all participants of this very useful forum! Yesterday I sow one sentence .
THE WINDOW HAVING BEEN CLOSED, THERE WAS VERY LITTLE AIR IN THE ROOM.
Why does author use so difficult grammatical construction?
I think , author could write instead of this very difficult construction
WINDOW HAVING BEEN CLOZED
very simple construction
WINDOW WAS CLOSED.
Tell me, please
Thanks in advance.
Adel :roll:

Hi Adel,

‘With the window having been closed’ means the fact, that winows was closed caused the lack of air in the room.
That’s why the author used that construction instead of simply saying ‘the window was closed’.[YSaerTTEW443543]

TOEIC listening, photographs: Ruins[YSaerTTEW443543]

Now I know the reason for using so difficult grammatical construction.
Thank you .
Adel.