The study of sin is called hamartiology.
Hamartiology is a branch of theology that focuses on the nature, origin, and consequences of sin. It examines the different types of sin, the ways in which people sin, and the effects of sin on individuals, society, and the world.
Hamartiology is also concerned with the atonement for sin, the ways in which people can be forgiven for their sins, and the role of grace in overcoming sin.
While the term "hamartiology" is not used as frequently as other theological terms, it represents a significant area of study within Christian theology.