Does anybody know what this pipe is for?

Was cleaning my engine bay today and found a small split in it which is clearly leaking something

Car drives fine and obviously I am going to get it sorted just wondered if I should be driving in the mean time?
Thanks