For more on how modern engines work (although the core idea of alpha-beta pruning [1] is still used) you can check out the chess programming wiki [2].
1: https://www.chessprogramming.org/Alpha-Beta 2: https://www.chessprogramming.org/Main_Page
1: https://www.chessprogramming.org/Alpha-Beta 2: https://www.chessprogramming.org/Main_Page