Only low-pressure gases emit a line spectrum because nearby atoms minimally influence their energy levels, allowing distinct energy transitions. In contrast, solids, liquids, and high-pressure gases experience significant interactions among atoms, resulting in a continuum of energy states that broadens spectral lines into bands. The Pauli Exclusion Principle plays a crucial role, as it prevents identical quantum states among electrons, leading to varied energy levels in systems with multiple atoms. High pressure and temperature further complicate this by introducing Doppler shifts and increased atomic interactions. Consequently, condensed matter cannot produce line spectra due to the overlapping energy states among closely packed atoms.