For (increasing) concave functions $f$ with $f(x)\to\infty$ as $x\to\infty,$ for example $f(x) = x^{2/3},$ integrating i.e. finding the area under the curve between $1$ and $a,$ $\displaystyle\int_1^a f(x)\ dx,$ can give you a relatively good approximation to the sum $\displaystyle\sum_{n=1}^{a} f(n)$, but not a good absolute difference. If you want to be more precise then you have to do a bit more work.
For (increasing) concave functions $f$ with $f(x)\to c\in\mathbb{R}$ as $x\to\infty,$ for example $f(x) = 1-1/x,$ integrating between $1$ and $a,$ $\displaystyle\int_1^a f(x)\ dx,$ not only gives you a good relative approximation but in fact can give you a good absolute approximation to $\displaystyle\sum_{n=1}^{a} f(n)$: in the case of $f(x)=1-1/x$ the area under the curve (i.e. the integral) differs from the sum $\sum_n 1/n$ by a maximum of some constant which is probably less than $2$.
Seeing these things is not so difficult once you've drawn diagrams to see what's going on.