Article snapshot taken from Wikipedia with creative commons attribution-sharealike license.
Give it a read and then ask your questions in the chat.
We can research this topic together.
Trial by ordeal in Shinto
Kugatachi (盟神探湯) is a kind of trial by ordeal that was conducted in ancient Japan. It was done through exposure to boiling water and it is believed that innocent people would not be scalded and guilty people would be scalded due to divine intervention by kami.