what has 4 legs in the morning, 2 in the afternoon, and 3 at night?

The answer is a human. As a baby, we crawl on all fours in the morning of our lives. As an adult, we walk on two legs for most of the day. And as an elderly person, we may use a cane to help us walk, making it three legs at night.