What is an Avatar of a God?

I’m confused with what an avatar really is. I understand it’s the materialized form of the deity itself, right? Or, is it a part of the deity taking a physical form?

What happens if you kill the avatar?

How does one truly kill a god? I’ve heard that you make it mortal. How, by killing it’s avatar? Can someone explain how this works?