You can think of a chord diagram as a map, which gives you the following information: the position of a chord on the guitar neck; the strings you need to play a certain chord; and the fingers you have to use to make a chord sound the way it should.
Read our blog on how to read a chord diagram.