The correct response is:
They worked as nurses for the Union army.
Dorothea Dix served as the Superintendent of Army Nurses and was instrumental in organizing the nursing corps, while Clara Barton took on the role of a nurse and went on to establish the American Red Cross after the war.