China and Japan share deep historical and cultural ties, with a relationship marked by both cooperation and competition across centuries.