Every municipality shall have power to construct, operate, and maintain any system or part thereof to provide light, heat, and power; to purchase electric current from without the limits of the municipality; to sell electric current to be transmitted to any point without the municipality; and to maintain transmission lines for such purposes without the municipality.
SDCL 9-39-1