Why did the United States establish diplomatic relations with China in the 1970s?

Ato attempt to bring down the Chinese leadership
Bto explore communism and welcome it into American life
Cto isolate the Soviets between NATO and a hostile China
Dto gain access to Chinese markets for American goods