Galaxy clusters as probes for cosmology and dark matter