What is the meaning of [A bad apple]

Imagine a basket of apples with one rotten apple inside. This picture will help you remember that a bad apple is someone who creates problems or trouble, or is a bad influence on the other people in a group.