I found this under a 4’ high deck, there isn’t any markings on it. I don’t recognize this, it has 2 wire going into the ground.
My guess is landscape lighting
Low voltage lighting transformer
what they said…
I agree with James.
Possibly a pet fence. (Invisible Fence)
Robot lawn mower perimeter wiring.
You plug that in and night crawlers come out of the ground so you can have some bait for fishing.
Yep, and usually with a timer.
Don’t forget to soak the lawn or all you’ll get is ‘crispy crawlers’. LOL.