In Dante's "Inferno," punishment is determined by the principle of contrapasso, where sinners experience a punishment that corresponds to their sins. For example, fraudulent individuals are forever immersed in boiling tar, reflecting how they deceived others and were themselves never at peace. Through contrapasso, Dante illustrates the idea that the consequences of one's actions are intertwined with the sins themselves.