How does a film tell the same story as a book?

A film can tell the same story as a book because the story is told through the camera like a narrator tells the story through words.