Why was the Peace Corps important during the cold war?

It may have been an alternative to military service; said another way...and more directly to the point; it may have been a legal and socially acceptable way of dodging military service.