The correct option is:
The planet Mars, which is Earth's nearest neighbor, has long fascinated scientists as well as science-fiction fans.
Step-by-step explanation:
There are defining and non-defining relative clauses. Defining relative clauses provide essential information, whereas non-defining can be removed without altering the meaning of the sentence.
In this case, "which is Earth's nearest neighbor" can be removed without changing the meaning.