The psychodynamic approach views criminal and antisocial behavior as arising from unresolved conflicts in early childhood development and dysfunctional relationships between the id, ego, and superego. Freud's concepts of psychosexual development, the unconscious, and defense mechanisms provide a framework for understanding how criminal thinking and actions can develop from disturbances in personality formation during childhood. Various psychodynamic theorists have applied this perspective to explain different types of criminal behavior such as juvenile delinquency, aggression, and paedophilia.