We have a lot of pipes in our floor

I guess I am too stupid to heat my pool. I read online that a boiler system can be used as a pool heater. A boiler is a giant home heating unit. The boiler can heat a small home, a whole building or entire school by itself. It has that impressive of heating power. The boiler is a large metal device that is usually set up in a basement. I read that a boiler can do so much more that just impressively heat the the air. The boiler can also be linked to heated floors. This seems easy to me. You take piping from the boiler and run the piping within your floorboards. The water flows through the pipes and then you have hydronic heating. I get how these pipes go from the basement to the lower level of the house. The ceiling of the basement and floor of the first floor is the same. You also can use a boiler to be a hot water tank. This also makes sense to me. The boiler is heating water anyway to provide warmth, just link it to the plumbing. But, how in the world do I make my pool and boiler connect? I read that piping is involved in this heating process as well. But, the pool is way out in the middle of my yard. Do I need to dig up my lawn and bury the pipe? Once the piping actually makes it to the pool, what do I do? Is it like heated floors and it is under the pool? Or maybe the boiler piping hooks to the pool pump and pumps in warm air.