The defense of necessity may apply when an individual commits a criminal act during an emergency situation in order to prevent a greater harm from happening. In such circumstances, our legal system typically excuses the individual's criminal act because it was justified, or finds that no criminal act has occurred.