Out of Shape

What does the idiom “out of shape” mean?

Definition: in poor physical condition

Example: I used to be able to run ten miles, but now I can barely climb the stairs at work. I’m really out of shape.