Is Korea culturally and linguistically closer to China or Japan?

韩国在文化和语言上更接近中国还是日本?