What does the word hat mean in German?

The English word hat translates as Hut in German.

The German word hat translates as has in English.