Nitrocellulose is a highly flammable compound formed by nitrating cellulose through exposure to a mixture of nitric acid and sulfuric acid.