This article on the BBC website is the most informative explanation of DSD I have read:
https://www.bbc.co.uk/news/articles/crlr8gp813ko.amp
Before reading this, I was certain that Imane Khelif and Lin Yu-ting had male bodies. Having read the BBC article, I can see that it is by no means definite.
I feel very sorry for both of these 2 boxers that the International Olympic Committee have failed to develop proper testing procedures that would determine whether having a DSD would give an unfair advantage in the female boxing category. The IOC should have investigated this issue properly for Khelif and Yu-ting before they were allowed to compete in the Olympics. It is such a shame that these boxers have the humiliation of us all discussing their intimate medical details.