Every corporation organized under this chapter shall have power to erect and maintain such buildings, powerhouses, plants, poles, substations, wires, trolleys, and appliances as may be necessary for the transmission of electric power and use the same to operate its street railway, electric light, or power line, and to contract with any person or corporation for the furnishing to such person or corporation of electric light, heat, or power; to contract with any municipality, or county for the lighting of its streets, highways, and public buildings, and for furnishing power, and to contract with any municipal corporation for the furnishing of its inhabitants with electric light, heat, and power.
SDCL 49-33-7