The arches shape is designed similarly to a spring and it bears the weight of the body and absorbs the shock that is produced with locomotion.
The flexibility of the foot is what makes it possible to have everyday functions such as walking.