How can we view the analysis behind the engines calculated moves

I am seeking to find out exactly why the engine is choosing certain moves, I would like to find out if there is a way I can view the move by move analysis behind the decision.
Please help if you can thanks!