It's a common design paradigm to pair serif and sans-serif fonts. Lots of examples and blog posts out there for why this is the case, but here's a decent enough starting place from canva with lots of font combos
Fairly common typography decision for websites/computers - sans-serif fonts are held to be more readable on low resolution displays (at small sizes). For the larger headers you have the pixels to cleanly render serifs if you want.
You can also just do it because you want to. It's just as common in other mediums to see the opposite (sans headers and serif body text).
If you mean software, every large corporation has Github, thus Copilot, thus most western models. MAI will be perhaps relevant for Office Copilot, which is currently almost unusably bad (because probably very not cost efficient for MS since the OpenAI fallout).
https://www.canva.com/learn/the-ultimate-guide-to-font-pairi...
You can also just do it because you want to. It's just as common in other mediums to see the opposite (sans headers and serif body text).
Am definitely interested in trying this to see given a lot of my workload of actual coding is handed over to Haiku/Luna right now.