Sins are rightly evaluated according to their gravity. The distinction between mortal and venial sin, already evident in Scripture, became part of the tradition of the Church. It is corroborated by human experience.
Source: Catechism of the Catholic Church (Vatican.va)