What was the purpose of the Manhattan Project?

The purpose of the Manhattan Project was to develop an atomic bomb during World War II in order to end the war by forcing Japan to surrender.