This document summarizes a lecture on quantum wells as a deviation from ideal particle-in-a-box structures. It begins with reviewing the particle-in-a-box model and posing questions about its limitations. It then discusses how quantum wells are physically realized using different material compositions and potential profiles. The key concepts of exciton formation, electron motion in one to three dimensions, and the Schrodinger equation for quantum wells are presented. Finally, it covers two-dimensional electron gases, multiple quantum wells, superlattices, and the difference between the two structures.