I'm glad you know what I have in my basement.

I have pex water lines and the water heater fittings are the flex line type then clamp ring.
I didnt really "need" them. I turned the water tank 30degrees so I didnt have to extend the electrical. and the flex lines made that easier.
top electric on old tank, side electric hookup on new tank.
I also have a water leak alarm so not much "bravery" needed for self install.
Pex is like installing legos and I didnt cheap out on my crimper. Not claiming to be any sort of plumbing expert but this install didnt need one.