What was the purpose of the House Un-American Activities Committee (HUAC)?

A. to help people with mental illnesses get treatment
O
B. to improve patriotism and enthusiasm in the United States
C. to stop people from collaborating with the Vietnamese or Koreans
D. to identify suspected Communists in business, academia, and the media
ered​