I belive from this thread. But now I have some doubts.
Magisk is a way of rooting the phone. If you don't need root then don't bother with it.I dont understand this Magisk thing, and dont really want to flash anything thats going to cause issues, just took me ages to get the phone set up how i like it. Everything is running great apart from a pub app that wines about hooking detection and will not load. Had that on another phone to though that was stock.
What exactly does this do, had a read but its kinda beyond me.