When are diuretics used?

When are diuretics used?