What is the Active ingredient in lye?

The active ingredient in modern lye is sodium hydroxide. Potassium hydroxide used to be the active ingredient used in making lye.