A lot of Python code is just a relatively thin layer of "glue" between C libraries.

An ML pipeline will probably rely on numpy to do all the heavy lifting.

A web backend will probably use something like psycopg, which is a wrapper around libpq (official postgres client lib, written in C).

etc