Prometheus collects rich metrics and provides a powerful querying language while Grafana transforms prometheus metrics into meaningful visualizations. Both are compatible with many data source types. It is very common for DevOps teams to run Grafana on top of Prometheus.