What was the American struggle of the Vietnam war?

To prevent the communist take over of the NON-communist Republic of South Vietnam, by Communist NORTH Vietnam.