Yes, it is indeed true. I'm surprised you haven't read Deathly Hallows!
During the Battle of Hogwarts, Fred was killed by a wall that was suspected to be blown up by Augustus Rookwood. Here's the page for Fred on HarryPotterWiki:
link
Hope this helped!