What the word "cascade" refers to, in CSS? How the weight is determined?

The "cascade" refers to what happens when several sources of style information compete for control of the element on a page: style information is passed down ("cascades" down) until it is overridden by a style rule with more weight.

Weight is considered based on the priority of the style rule source, the specificity of the selector, and rule order.