The terms "activity" and "passivity" were already in use before Freud. For example, Richard von Krafft-Ebbing used them to compare sadism and masochism. Freud initially employed the terms within the framework of the theory of psychosexuality and, more specifically, with respect to the drives, creating paired opposites associated with masculine/feminine. He then used these terms in his dynamic analysis of ego as agency