GO:0030187: melatonin biosynthetic process
The chemical reactions and pathways resulting in the formation of melatonin (N-acetyl-5-methoxytryptamine).