Preening is a sign they're relaxed. If you're around your chickens and they preen and sun or dust bathe that means they're comfortable around you.
It's also necessary: one of the things they do when preening is oil their feathers to make them water-resistant. Keeping them straight helps them...