Yes. A transformer is needed, in order to reduce the output of 230 V from your mains to be able to have low-voltage garden lights installed outside.