Draw a rectangle on paper and trace around it with your finger. Your finger touches only the lines, never the white space in the middle. Those lines are the boundary. Color in the middle and the colored part is the interior. The rest of the page is the exterior. The boundary is what keeps them apart.
A boundary is very thin. A real fence has some thickness, but in math a boundary is just a line with no width at all. That is why we measure a boundary by its length, not by its area. A garden 5 m by 3 m has a boundary 5+3+5+3=16 m long.
Boundaries do not have to be straight. A circle's boundary is the round curve itself. The shore of a lake is a wiggly boundary between water and land. A shape can even have two boundaries: a picture frame has an outer edge and an inner edge, and both belong to its boundary.
Asking how much grass grows inside a fence is a different question. It is about the space the fence encloses, so it is an area question, not a boundary question.
Think of it like this. A boundary is like the white line painted around a soccer field: it shows exactly where the field stops. The painted line has some width, but a math boundary has none, so all you can measure is its length.
Core idea. A boundary is the exact dividing line between the inside of a region and the outside.