The primary difference between the emperor and the shogun during this period in Japan was:
The emperor was a religious leader, while the shogun held real political power.
In Japan's feudal system, the emperor was considered a spiritual and symbolic figurehead, often associated with Shinto beliefs and traditions, while the shogun was the military leader and the one who exercised actual political control over the country.