I don't understand DominantAxis in UIAspectRatioConstraint at all

I tryied to change this setting but it doesnt do anything. Can you please explain to me. I also wanted to ask - if I want to manually set the size of an element with a given object (UIAspectRatioConstraint at all), then should I change only one axis, and the second axis will be adjusted by this object?