Transactional analysis is a social psychology theory developed by Eric Berne that analyzes social interactions. It focuses on analyzing self-awareness, ego states (parent, child, adult), transactions between people, and life scripts. The ego states represent internalized recordings from early childhood - the parent ego contains rules and values learned from caregivers, the child ego contains emotions, and the adult ego allows rational analysis. Transactions between people can be complementary, crossed, or covert depending on which ego states are involved. Script analysis aims to help people and organizations recognize unhealthy life patterns learned early on so they can choose to act autonomously in the present.