HOAs are a small insurance policy in neighborhoods where you think other owners may cause issues, or potentially effect your property value.
on that note, i think they are a fucking racket, and a waste. usually the dickheads running them are money grubbing bastards, and don't actually do anything about the real issues, but bitch about the small things that other home owners are doing.