General use:
* The team's defense was strong, preventing the other team from scoring.
* The lawyer presented a strong defense for her client.
* The defense mechanism of the plant protects it from predators.
Figurative use:
* He used humor as a defense against the criticism.
* The fortress was built as a defense against invaders.
* She built a defense of bookshelves around her desk to create a sense of privacy.
In different contexts:
* Defense spending is increasing this year. (government)
* He injured his shoulder while playing defense for his team. (sports)
* The doctor explained the defense mechanisms of the immune system. (medicine)
These examples show that "defense" can have different meanings depending on the context. Make sure to choose the meaning that fits your sentence best.