Spanish, Italian, Portuguese, Catalan, and Occitan are Ibero-Romance languages—direct descendants of Vulgar Latin spoken by soldiers, colonists, and merchants. Spanish and Italian share high mutual intelligibility; Italian is the second most mutually intelligible language with Spanish.
French, while Romance, diverged more sharply: it lost the case system, developed a distinct article system, and underwent more extreme phonological changes. Spanish and French are not mutually intelligible.
Conclusion: Spanish is significantly closer to Italian than to French.