# In an ideal only capacitive or inductive AC circuit where all the wires are ideal and have zero resistance, no energy loss in any form as power = 0?

Is the statement in question true?

Work done by the source in one time period ($$T$$) is =$$V_{\text{RMS}} × I_{\text{RMS}} ×\cos(x)×\frac{T}2$$, where $$x$$ = angle between I phasor and V phasor.

In case of inductive or capacitive circuit as $$x=+\frac{\pi}{2} \text{or} -\frac{\pi}{2}$$, so work done by source is zero. How is current flowing then ?