A value is assigned to the left operand by an assignment operator based on the right operand's value. It sets the value of its right operand to the left operand using the simple assignment operator equal (=). This means that x = y assigns x the value of y.