How Does Apache Spark Work