Meaning: The sentence is comparing the way trees lose their leaves to the way a snake sheds its skin.
Choice of Words: The word "shed" means to lose or get rid of something. "Leaves" are the parts of a plant that grow from the stems. "Snake" is a reptile with no legs. "Skin" is the outer covering of an animal's body.