I am trying to learn mixed models using lmer function and I am able to use it. But i am not able to understand what is going on in the backend like how it is taking care of fixed effects and random effects and the statistics behind it. All the source which i referred only goes through the syntax and not the backend process. It would be great if anyone could help me understand the process or suggest me a source which I can use for reference.