If the target artifact or enchantment is an illegal target by the time Natural End tries to resolve, the spell doesn’t resolve. You don’t gain life. If the target is legal but not destroyed (most likely because it has indestructible), you do gain life.

Artwork
Loading artwork…
Natural End
Core Set 2020 · #183 · EN
Nonfoil—Foil—
Card rules
Destroy target artifact or enchantment. You gain 3 life.
The haunted blade shattered, and the geist drifted gratefully to the Blessed Sleep.
Common · Illustrated by Scott Chou
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pauper Legal
Pauper Commander Legal
Penny Legal
Pioneer Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions