Explain the answer to this riddle: What has four legs in the morning, two legs in the afternoon, and three legs in the evening?

This riddle is referring to a human. A human in infancy (morning) crawls using four limbs. A human adult (afternoon) walks on two legs. An elderly person (evening) walks on two legs and a cane.