Use Cases in real scenario

Hello, Could anyone explain me when to use Spark and when to use Hive .
regards,
Sowmya