It is a well-known fact that the author of Lord of the Flies William Golding was an officer in the Royal Navy, and that some of the sights he saw inspired him to write Lord of the Flies.
The boys are stranded on an island. All we know about this island is that there are a mountain, trees and a lagoon.
The Lord of the Flies was also inspired by the book The Coral Island.
Is the island that the boys get stranded on real? Perhaps Golding saw the island during his naval service, or maybe he set it on the same island as that in The Coral Island.