A woolly bear will molt six times over the course of its caterpillar stage. After every molt, more brown hairs are added.  Hence, by seeing how long the brown patch is, one can gauge how long it has been alive.