You could tell this was down by Cape Cod by the weathered wood siding on the little houses and barn, as well as the old — but still sturdy cedar pickets.
I think these were originally cabins for hired help, probably ground workers. The barns are clearly not for cows. Probably to stable a couple of horses and maybe store a small rig.
Today, they are “out buildings,” decorative and useful for storage.