Nitrocellulose is the main ingredient in smokeless powder to this day, and it was traditionally obtained by treating cotton fiber with concentrated nitric acid (usually with some sulfuric acid as a catalyst).