Solar panel are the source of direct current (DC). It is strongly advisable to use dc wire for connecting solar panels with inverter and charge controller.