First off you don’t carry all the water you need for a backpacking trip so you have to treat water (creek, lake, etc.) to make it safe for drinking. There are many options and backpackers can be pretty heated about their personal favorite:
Here are your options:
Don’t treat it all and risk Beaver fever (not a pretty sight)
Use chemicals: drops or tablets.
Boil the water. This uses a lot of fuel and who wants to drink hot water on a hot day. We do boil water for dinner,, no reason to filter and then boil
Pump filter
UV light, powered by batteries
Gravity filter
To the obvious question: I have used all of the above.
I still have the Steri Pen if anyone wants it, let me know