Background I have decided to use the description from Wikipedia to explain the case (there will be a reason, keep…