Unjointed Geometry with Curve

Hi, I hope you are doing well!

I’m trying to convert the entire geometry into one single continuous line, but I’m having difficulty creating a truly continuous path. I tried different ways but I could not make it. do you have any suggestion for it? I will appreciate your help.