Phase difference between V and I is $$dfrac{pi}{2}$$. So the device can be a capacitor. .