Help recognizing plumbing component

Does anyone recognize this brass-looking component that’s sitting in the drain pan of a water heater?

It’s attached to the cold water supply line of the electric tanked water heater.

I’m SORRY for not getting you better pictures! There were a lot of personal belongings in the way.
In reality, I could have gotten better pictures with higher resolution.
ANNv7Z_007

ANNv7Z_016
What is this thing in the picture below.
ANNv7Z_017

Water shut off valve, senses water in the drain pan and then shuts off the flow.

4 Likes

It’s a water safety shutoff valve. Good to know! Thank you, @ddagostino !

2 Likes