Irradiation by energetic particles can degrade semiconductor device performance. The particles involved can be electrons, positrons, neutrons, protons, alpha particles, heavy ions, or high-energy photons. As they pass through a device, these particles interact with the lattice. Energy deposited through these interactions may damage the lattice directly by displacing its atoms, or may result in the creation of electron/hole pairs. A sudden excess of electron/hole pairs may trigger a latchup, possibly damaging the device through overcurrent. Holes generated within an insulator may become trapped there, leading to a gradual accumulation of charge that worsens performance and eventually causes the device to fail. Consideration and modeling of these effects is important when designing semiconductor devices that will be exposed to high-energy radiation.