What happens when NaOH dissolves in water?

Simple. You get NaOH solution. The solution thus obtained is alkaline in nature whose normality depends upon the gram equivalent weight of NaOH dissolved. NaOH being polar in nature is highly soluble in water.