Circuit diagram

I found a bootstrap circuit and included it in the H-bridge design, but didn't end up understanding how the boostrap works.

- Where is the capacitor supposed to find its way to ground?
- How do I calculate the value of the boostrap resistor and capacitor?
- Is the circuit correct? It works in the simulator, but I don't know if it works in real life.

Thanks in advance for the help.