These pictures should help you to learn the names of all the main guitar parts.
In this example we can see the names of an acoustic guitar’s parts. In this case a nylon strung or classical guitar.
In this example below we can see the names of an electric guitar’s parts. In this case a Fender Stratocaster guitar. Perhaps the most popular electric guitar style there is.