Let the input be a time-varying function vI(t). The virtual ground at the inverting Op-amp input causes vI(t) to appear in effect across R, and thus the current i1(t) will be vI(t)/R. This current flows thru the capacitor C, causing charge to accumulate on C.