> The primary chops up the high-voltage DC from the PFC circuit and feeds it into the transformer.
It chops it up to AC for the transformer.
It chops it up to AC for the transformer.
https://en.wikipedia.org/wiki/Flyback_transformer#Operation_...
See the Switch−Mode Power Supply Reference Manual from ON Semiconductor for info on all the other possible ways to build a switching power supply.