The purpose of a haiku in Japanese literature is to capture a moment or an emotion in a concise and evocative manner. Haikus typically consist of three lines with a 5-7-5 syllable structure and often focus on nature, seasons, and human experiences. They aim to evoke a sense of contemplation, mindfulness, and beauty in a few short lines.