How it works
An integral adds up lots of tiny pieces to get a total, like working out distance from a changing speed.
Drive at 60 km/h for 2 hours and you cover 120 km. But if your speed keeps changing, you can split the trip into tiny moments, multiply speed by time for each one, and add them all up.
That sum is an integral. On a graph, it's the area under the curve.