The U.S. decided to use atomic bombs on populated cities, such as Hiroshima and Nagasaki, in order to quickly end World War II and avoid a prolonged and potentially costly invasion of Japan. The primary objective was to force Japan's surrender and bring a swift end to the conflict.