We have an HOA, mostly to maintain streetlights and the boat ramp on the river. We live in an unincorporated area, so the HOA dues are for maintenance of common areas. Our HOA regulations are not very stringent but they do require people to maintain their lawns, house repairs (roof, paint, etc.). They do not allow garage sales or yard sales, or RV parking for more than 2 days, no junk vehicles, no boats on the driveway, etc. Any change in paint color, roof color, additions to property (including sheds/outbuildings) have to be submitted for approval.
Some people live in very stringent HOA developments and I have heard horror stories about those, so I'd request a copy of the deed restrictions and find out what the HOA dues/fees are before buying a home. HOAs can be helpful in maintaining property values, but they can also be very intrusive.