Why is the area under a curve the integral?
Why calculating an integral or an anti-derivatives represents an area? how they figure it out? what is the relationship exist 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: