are you talking about the motor actuator in the window sound?
Electric window actuators, which use a motor to open and close the window, may produce a soft humming or whirring sound when in use. This is normal and indicates that the motor is functioning properly.