Diodes are two-terminal semiconductor devices that allow current to flow easily in one direction but restrict it in the other. They are made of materials like silicon and germanium. A diode consists of a p-n junction where a p-type semiconductor is joined to an n-type semiconductor. Diodes have highly non-linear current-voltage characteristics that make circuit analysis difficult. However, diodes can be approximated as an open circuit when reverse biased and a 0.7V voltage source when forward biased, simplifying analysis. This piecewise linear model provides results close to the exact solution with much less effort.