Because while NaOH is used to manufacture soap, it itself is not soap. Sodium hydroxide functions as a strong base, the purpose of which is to cause a chemical reaction necessary in making soap (literally this reactions is called saponification, because soap). Sodium Hydroxide has many, many other chemistry purposes beyond saponification reactions.
Latest Answers