Dear Karim
The answer is comprehensive. Hence i am sending you the below link.Usually ansys calculates displacements at nodes and interpolates across elements by using shape functions.
https://www.cati.com/blog/2008/04/nodal-versus-elemental-stresses/