RR rotation, or right-right rotation, is a tree rotation operation used in self-balancing binary search trees (BSTs) to maintain balance when a node is inserted into the right subtree of a right child. This rotation helps to reduce the height of the tree and ensures that operations like insertion, deletion, and lookup remain efficient. By restructuring the tree through this rotation, the overall balance and height of the BST are improved, leading to better performance in various tree operations.