all three.
it's also how much energy is released when the elemental atoms form bonds
like if C-O is 100, then you put in 100 to break it. but then you also get 100 when it reforms.
which is why enthalpy is deltaH = bonds broken - bonds formed, making it negative equating with heat release because reforming more stable bonds has a net release of heat.