The Wagner-Meerwein rearrangement is a type of carbocation rearrangement that occurs during certain organic reactions, particularly the SN1 reaction and in the biosynthesis of terpenoids. It involves the migration of a substituent group from one carbon to an adjacent carbocation, resulting in the formation of a more stable carbocation intermediate.