GLMM for overcoming pseudoreplication

Hi! I keep hearing about using general linear mixed models to overcome pseudoreplication when we have data from many neurons from the same animal and we want to use neuron as the unit for statistical analysis. However, I don’t know the details of how GLMMs work… If someone could offer an explanation or suggest some good resources on the topic I would appreciate it. :slight_smile:
Thank you!