A spinning device mounted on a roof, often mistaken for a propeller or satellite dish, is actually a weather vane. This device is designed to rotate freely in the wind, allowing its attached arrow or other indicator to point in the direction from which the wind is blowing. Weather vanes are commonly used for understanding wind patterns and predicting weather conditions.