how did the psychology developed as a field of science is understand behavior

how did the psychology developed as a field of science is understand behavior