The answer for this riddle is a human. 4 legs in the morning is a baby crawling, 2 legs in the afternoon is an older child or adult that walks using just its legs, and 3 legs in the evening is an elderly person who uses a walking stick to help his/her walking.