This is a sentence that is often used to begin children’s stories. It places the story in an unspecified, long-ago past.
ENCYCLOPEDIA ENTRY