The speaker in literature is the voice through which a narrative or poem is expressed, guiding the reader's perception of the work.