In a reaction wheel, a mass is attached to a motor. If the motor is driven in zero gravity and the mass is set in rotation, this also generates a counter rotation of the rest of the carrier.