You need to understand some basic differences between hadoop and spark.

One of the major difference is file system. Hadoop has HDFS while spark does not have any native file system associated with it.

So, you can run spark without hadoop in theory., but you need something to handle data. HDFS is one of the best choice for this task, in that case, you need to know the basic of Hadoop to get good results from Spark.