In the story, the woman is sentenced to be stoned for committing adultery. In reality, this kind of punishment does not really happen.
Jesus forgave the woman, and today that is God's attitude towards us when we sin. When we have to confess our sins to God he forgives our sins immediately. God always forgives us even though we don't deserve it.