Why is the area under a curve the integral?
Why does calculating an integral or an anti-derivatives represent an area? How do they figure it out? What is the relationship between them?
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
This is basic level stuff covered in first course of calculus. You may also refer to this: