What is the science behind the atomic bomb?

The science is that of nuclear physics. By taking an unstable heavy substance, such as uranium or plutonium, and hitting it with neutrons, some of the material will break (fission) into lighter materials, releasing energy, and more neutrons, which in turn cause more material to fission. This is called a nuclear chain reaction.