Degenerate cores are regions in a star where the pressure is dominated by quantum mechanical effects rather than thermal pressure, typically occurring in stars that have exhausted their nuclear fuel. In these cores, electrons or neutrons are forced into a state where they occupy the lowest energy states allowed by the Pauli exclusion principle, leading to a condition known as electron or neutron degeneracy pressure. This pressure is crucial in supporting the core against gravitational collapse during later stages of stellar evolution.