There is a theory that they were introduced from China to Japan at the beginning of the Heian Period and a theory that they were brought from the Korean Peninsula in the 16th century.
日本へは平安時代初期に中国から伝来したという説、16世紀に朝鮮半島より伝わったという説がある。