Why was the Atomic Bomb Dropped?

The atomic bomb was dropped on Japan for a number of reasons. Japan was showing no sings of surrendering even with the war lost and the bomb defeated them.