What is Hadoop:
Hadoop is an open source framework which is used to store large amount of data sets.Hadoop is provided for data storage,data access,data processing and security operations.Many organizations are used hadoop for storage purpose because Hadoop storing large amount of data quickly.
What is Spark:
Spark also open source framework and mainly used for data analytics.Spark runs more faster than hadoop and it designed on top of the hadoop.Spark does not have separate file system and it integrated with another one.Main feature of spark is does not use YARN for functioning.