Prior to Spark 2.0, getting access to a Spark cluster was done via SparkContext.
The access to the subsystems such as SQL was per-specific names context (for example, SQLContext).
Spark 2.0 changed how we gain access to a cluster by creating a single unified access point (namely, SparkSession).