An idea from Groundwork of the Metaphysics of Morals
Seen from outside, you are part of nature, pushed around by wants. Seen as a thinker, you belong to a world of reason that gives its own laws. You stand in both at once. That is why the moral law reaches you as an ought.