A fuel injector is nothing more than a high-speed valve for gasoline.An engine computer or controller is used to control the fuel injector.
They are normally fed power whenever the ingnition key is on.The computer controls the negative , or ground side of the circuit.
Where is the power? The power to inject the fuel comes from a pump or a pressure container farther back in the fuel supply.