Given a function y = x².
We have the following graph
The derivative can tell us the slope of the line of the graph at a point. Say for example, what is the slope of the line at x = 1.
We can determine the slope by finding the derivative of the original function y, in this case the answer is 2x (from x²), and then substituting it by x = 1 (which results y' = 2).
By that we have determined that the slope of the equation at x = 1, is 2.
The integral on the other hand can tell us the area under the curve of the equation.
By integration, we can determine the area under the curve of the equation.
That is the difference between derivative and integration.
Derivative tells us the slope at a point, integration tells us the area under the curve.