This is a TDC Power DA-40-12W-1
Landscape Light Transformer
Low Voltage AC.
It can be used indoors or outside.
It is used for low voltage landscape lighting.