This talk will be a pedagogical introduction to different types of
topological and non-topological defects, how they arise in high-energy
physics and what properties they have. The more technical question of
how to simulate them in the computer will be then tackled in order to
obtain CMB power spectra. Once the spectra are obtained, the newest
CMB constraints for defects will be discussed.