Minecraft wiki entry for Navigation, associated text: Torches: offer an easy method of making quick visible markers to follow, and they stop monsters from spawning nearby.
Jack o'Lanterns: have a face that points in a single direction.