Meaning: This sentence describes a peaceful and quiet moment at the beach where the ocean is talking to the shells.
Choice of Words: Ocean "whispered secrets" to describe the soft and mysterious sounds it made. "Shells listened eagerly" means that the shells were paying close attention to the ocean's whispers.