I've known about a 1/2" pvc pipe leading out of my house since I moved 18 months ago. I assumed it was drainage for AC condensation in the attic until it was still running even when AC isn't on. It caused a leak because it wasn't angled enough (imagine slowly pouring a glass of water so it runs under the underside and back to your hand) and the water dripped back into the wall. So I ripped out the drywall and traced it up to the main floor and just realized I have this offshoot of the hot water line under my kitchen sink (see picture). Same size pipe and directly above so I'm pretty confident this is the source of the pipe leading outside. I know to fix the angle of the pipe, but I'm curious what this is and if I should run it away from my house with more pvc (currently dripping under my deck and likely into the foundation) or if I can cap it.