In machines with a rotating part, the fan is often connected to it rather than being powered separately. This is commonly seen in motor vehicles with internal combustion engines, large cooling systems, locomotives, and winnowing machines, where the fan is connected to the drive shaft or through a belt and pulleys. Another common configuration is a dual-shaft motor, where one end of the shaft drives a mechanism, while the other has a fan mounted on it to cool the motor itself. Window air conditioners commonly use a dual-shaft fan to operate separate fans for the interior and exterior parts of the device.