Spark and Hadoop both are the open-source Big-Data processing frameworks. Spark is derived from Hadoop just because to improve the functionality in Data processing in some areas where Hadoop was found to be a bit slow. It does not mean Spark cannot run without Haddop, but you may have to compromise with some functionalities.
Example: Parquet File processing.
You can learn more about Spark in this link.