What is background activity im mail?

Was checking my battery usage and under mail it said background activity.
I was wondering what that means?
If I had to guess I,d say that it has something to do with emails being sent to the phone when I am not using it.
Sorry, meant to write "in" not "im" in original question.
If you have any accounts that are set to fetch...its that.
Thanks, that makes sense.

Original thread: https://forums.imore.com/threads/what-is-background-activity-im-mail.316828/