Life of Pi is a fantasy adventure novel written by Canadian author Yann Martel. In the story, the protagonist Piscine "Pi" Molitor Patel, an Indian boy from Pondicherry, explores issues of sexuality, spirituality, and practicality from an early age. He survives 227 days after a shipwreck, while stranded on a boat in the Pacific Ocean.