Complex sentence: Thiazides also lower urinary calcium excretion, making them useful in preventing calcium-containing kidney stones.
Split into simpler sentences: Thiazides also lower urinary calcium excretion. That is why they are used to prevent calcium-containing kidney stones.