Dorothea Dix and Clara Barton made significant contributions to the Union war effort during the Civil War primarily through their work as nurses. Therefore, the correct answer would be:
- They worked as nurses for the Union army.
Dorothea Dix was appointed the Superintendent of Army Nurses and was instrumental in organizing the nursing corps, while Clara Barton served as a nurse and is known for founding the American Red Cross after the war.