Need help with accordions

For some reason, I simply can’t wrap my head around accordions and it’s making me feel like an idiot. Does anyone have a link to a good accordion tutorial so that I can actually understand it? I know there are some other posts about implementing accordions, but none of them really explain it.