During the boiling within the heating system there is thermal energy used for converting the water straight to vapor. This steam released is eventually condensed back into water by the secondary heat exchange.
See the rest here:
How do Condensing Boilers function? | Scholarspride.com