What's the difference between Japanese shrines and temples?

The shrine is a social place dedicated to various gods in Shinto, and it is the oldest religious building type in Japan.

Temple (religious place)

1. Temple and temple. Book of Jin, Art Biography, Buddhism and Tucheng: "People worship Buddhism because of its purity, and all build temples to become monks." The Great Victory of Democratic Reform in Tibet by Abhay Ngawangjigme: "The barbaric feudal serfdom was eliminated, and the feudal privileges and exploitation of temples were basically abolished."