Lattice energy is defined as the enthalpy change when one mole of an ionic compound forms from its gaseous ions under standard conditions, which raises questions about the existence of gaseous ions at these conditions. The discussion clarifies that gaseous phases can exist in equilibrium with solids, and at low temperatures, they behave like ideal gases, allowing for extrapolation to standard conditions. Ionization energy and electron affinity are noted as not being thermodynamic quantities, thus remaining largely independent of temperature and pressure. The textbook's definition of electron affinity is confirmed as correct, emphasizing the need for extrapolation to standard conditions for comparability. The conversation also touches on bond energy and atomization enthalpy, questioning their classification as thermodynamic quantities and how to determine whether a quantity is thermodynamic.