Stockfish evaluates the position of the entire board, e.g. mobility of pieces, how much opposing space they control, etc. But still, the evaluation function is hardcoded and weaker than AlphaZero.
Recently Stockfish introduced neural network evaluation.
https://blog.stockfishchess.org/post/625828091343896577/intr...