Which is more important and why?

Attack STATS or defense STATS?

for ex:

unit one
15 attack 10 defense

unit two
10 attack 15 defense