Relations between ancient Japan and China have a long history, and in certain periods the exchange of political, religious and cultural practices between the two was intense. China, the much older state and the more developed, passed on to Japan (sometimes indirectly via Korea) a long list of ideas including rice cultivation, writing, Buddhism, centralised government models, civil service examinations, temple architecture, clothing, art, literature, music, and eating habits. Trade relations greatly outlasted cultural and diplomatic ties, with Japan beginning to develop its own unique cultural path from the 9th century CE onwards.
This is a companion discussion topic for the original content at https://www.worldhistory.org/article/1085/ancient-japanese--chinese-relations/.