Thanks.
When you hit an enemy, you lose HP (this isn’t clear, I know, I need to improve the lost hp feedback). The def stat decreases the damage received. The damage received cannot be less than 1, so the minimum damage received will be always 1. The def stat is useful against enemies further down the level, they atk stat is higher, then if you defence is higher, they will inflict less damage.