To be completely correct, Solaris is an operating environment. The kernel is still SunOS even though it is regularly referred to as Solaris. Take the following output from a Solaris 7 system running SunOS kernel version 5.7:

# uname -a
SunOS myhostname 5.7 Generic_106541-12 sun4u sparc SUNW,Ultra-Enterprise-10000

Solaris encompasses the kernel, the suite of tools provided to a user and the login environment such as CDE.

See SunOS, Solaris and how they relate