How does diuretics work?

How does diuretics work?