There are 3 parts to how a guitar works: the strings, body, and the air inside. The pitch of the string vibrating depends in four things. If the strings are the vibration will be slower. The frequency can be changes by string tension by turning the pegs on the guitar. Also, the frequency depends on how long the string that is free to vibrate and finally the mode of vibration.
The body of the guitar is to transmit the vibration of the bridge into the vibration of the air. It needs a relatively large surface area for the vibration of both the bridge and air. The body of the guitar is usually made of spruce wood or a light springy wood and it’s about 2.5 mm thickness. The top plate is made so that it can vibrate up and down easily enough. Now, the inside of the plate has a series of bridges that strengthen the plate. Those braces will also affect the way in which the top plate vibrates.
The air inside of the body of the guitar is important, especially for the lower rang on the instrument. That air is also coupled effectively to the lowest resonance of the top plate. There is something called the Helmholtz resonance, which is due to the air at the sound hole oscillating. That is driven by the springiness of the air inside of the body. Air is springy, if