Why is China a communist nation?

Because Mao Tse Tung declared it to be, after WW II.