What are Kami?

Since the dawn of civilisation in Japan, there have been spirits and deities known as kami, which became part of the ancient Shinto religion. There are thousands of different types of kami, categorised in different ways.