Magical realism mixes the real and imagined in a way that makes it difficult to draw a line between reality and the supernatural. It is based on the idea that magic and reality can coexist and is often used to explore philosophical or spiritual ideas.