CSAM must be for sexual gratification usually. A medical anatomy textbook isn't CSAM.
Obviously most people are sensible most of the time but sometimes they are not.
And nudity is not required.
That's from RAINN, the US's largest anti-sexual violence organisation.