Whereas OpenGL is a specification, Mesa is the implementation of OpenGL for Linux. Windows and MacOS have their own implementations; MacOS and all other Apple OSes use Metal.