The purpose for which you buy a guitar often decides the kind of guitar you buy. With so many different types of guitars with unique pros and cons, buying the right guitar type is crucial.
Apart from the purpose of your guitar purchase, factors like where you play(the venue) also affect the type of guitar you'd pick. Other crucial factors include guitar body shape and physical compatibility.
Certain types of guitar simply serve certain musical styles better. Here is a list of popular genres of music associated with each guitar type.
Acoustic, Alternative Rock, Country, Fingerstyle, Folk, Indie, Pop, Rock, Western.
Alternative Rock, Blues, Country, Disco, Funk, Grunge, Metal, Pop, R&B, Rock, Soul, Swing.