A new collective behavior of resonant synchronization is discovered and the ability to retrieve information from brain memory is proposed based on this mechanism. We use modified Kuramoto phase oscillator to simulate the dynamics of a single neuron in self-oscillation state, and investigate the collective responses of a neural network, which is composed of $N$ globally coupled Kuramoto oscillators, to the external stimulus signals in a critical state just below the synchronization threshold of Kuramoto model. The input signals at different driving frequencies, which are used to denote different neural stimuli, can drive the coupled oscillators into different synchronized groups locked to the same effective frequencies and recover different synchronized patterns emerged from their collective dynamics closely related to the predetermined frequency distributions of the oscillators (memory). This model is used to explain how brain stores and retrieves information by the synchronized patterns emerging in the neural network stimulated by the external inputs.