Read the below notes, which help you to understand the rearrangement in organic chemistry.