Energy-level diagrams are visual representations that depict the discrete energy levels of an atom or molecule. These diagrams illustrate the allowed energy states that an electron can occupy within an atom's or molecule's structure, providing insights into the behavior and properties of these fundamental particles.