https://electronicsbeliever.com/what-is-voltage-regulator-explained-in-details/fig-1-3/
fig-1