Where does the body diode in a MOSFET come from? I understand that its built in and an intrinsic part of the MOSFET. All illustrations of a MOSFET that I've seen depict the structure as two diodes back to back but non hint at where the diode comes from.
simulate this circuitsimulate this circuit – Schematic created using CircuitLab