Red black trees are binary search trees where nodes are colored red or black. New nodes are always inserted as red nodes. The properties of red black trees, including that every path from root to leaf contains the same number of black nodes, must be maintained during insertion. If properties are violated after insertion, recoloring or a rotation followed by recoloring is performed to restore the properties and make the tree a valid red black tree again.