Question: what is the difference between a spider and a cave spider?
Answer: a cave spider is smaller than the regular spider and both will only attack you in Survival mode but never in Creative mode. They both drop 5 experience points and will only attack in the day if you hit it first.