Think about how you initially use sums to approximate the area under a curve.
you might compute the area as the sum of box areas where the width of the box is one and the length of the box is f(x) and use the sum of boxes with
x=1, 2, 3, 4, 5...
then to get a better approximation you use a width of one half for the box and the sequence with x=0.5, 1, 1.5, 2, 2.5 ...
so as delta x (aka box width and x difference) gets smaller and the x sequence becomes more continuous then an integral comes into play.