The curves help the spine absorb load. Poses often aim to respect them, extending or flexing the whole spine rather than bending sharply at one point.
GlossaryanatomyDraft
Spinal curves
The natural S-shaped curves of the spine: inward in the neck and lower back, outward in the upper back.