During the CONCRETE OPERATIONAL stage, children understand events and analogies logically, and they can perform simple mathematical operations.
This is based on Piaget's Stages of Cognitive Development where children begin to analyze and comprehend simple operations allowing them to differentiate the things that are happening in a logical manner.