This is mesh refinement.
Notice how the picture got better and better the more small regions we took.
We approximated the function on each region - a finite element approximation.
We get a better approximation when we use small finite elements.
As the number of finite elements increases, the picture approaches that of a continuous function.