WindowServer is responsible for managing your Mac's graphical interface on internal and external displays. It gathers images of the windows in the system, arranges them into the composite image that you will see on the display, and passes that image onto the GPU and display system.