The center of a tree is the node (or nodes) that minimizes the maximum distance to all other nodes. In other words, the node that is as close as possible to everything.
Every tree has either one center or two centers. If diameter is even, there is one center. If diameter is odd, there are two centers (the middle edge).
Finding the center helps you choose the best root for a rooted tree, or the best location for a server.