Hi all, I'm looking for a bit of help

there's a pipe under the drivers side of the car that seems to have signs of leakage, the front of the pipe looks like this

IMG_20220609_161020.jpg

Further back it looks like it's had a leak

IMG_20220609_161030.jpg

My wife drove over something in the road and said there was a quite loud clonk under the car, can anyone tell me what this pipe is, and what's its holding?

I am now also loosing a small amount of water and can't see where that's going, but this looks like it's ribbed for cooling possibly, so that might be a coincidence and another issue

Many thanks