What is msedge.exe?

Microsoft Edge · Microsoft

The Edge browser. It can keep running in the background.

Is it safe?

The real file is in C:\Program Files (x86)\Microsoft\Edge\Application.

High CPU or memory

Edge > Settings > System and performance: turn off "Startup boost" and "Continue running background extensions".