NASA’s Mars rover Curiosity stumbled upon a dark grey, golf-ball-sized object last week that looks nothing like the typical red-orange rocks that are normally seen on Mars.

To figure out exactly what this weird rock is and where it came from, Curiosity used its on-board rock-zapping laser to analyze the rock’s chemical composition. This test revealed that it is an iron-nickel meteorite that fell from the Martian sky. Curiosity’s science team dubbed the newfound meteorite “Egg Rock.”

These types of meteorites have been discovered on both Earth and Mars in the past, but this is the first time that Curiosity’s laser-firing spectrometer, the “ChemCam,” has been used to study such a rock. [Here’s What a Mars Meteorite on Earth Looks Like (Photos)]

Get Breaking News Delivered to Your Inbox

ChemCam works by firing laser pulses at objects of interest. When an object is struck by the laser, the electrons around its atoms get excited and emit light of varying wavelengths, or colors, depending on the elements that are being zapped. By analyzing this emitted light, Curiosity can then determine precisely what an object is made of.

This dark, lumpy, golf ball-size object is an iron-nickel meteorite. NASA’s Curiosity rover discovered it on Mars on Oct. 30, 2016. NASA/JPL-Caltech/LANL/CNES/IRAP/LPGNantes/CNRS/IAS/MSSS

This strange rock is made up of iron, nickel, phosphorous and a few other trace elements, which led scientists to conclude that it is a meteorite that is non-native to the Red Planet. These types of meteorites come from the molten cores of asteroids.

“Iron meteorites provide records of many different asteroids that broke up, with fragments of their cores ending up on Earth and on Mars,” ChemCam team member Horton Newsom said in a statement.

Scientists working with Curiosity (the rover is the centerpiece of NASA’s $2.5 billion Mars Science Laboratory, or MSL, mission) first noticed Egg Rock on Oct. 30 in photos taken by the rover’s Mast Camera, known as Mastcam.

“The dark, smooth and lustrous aspect of this target, and its sort of spherical shape attracted the attention of some MSL scientists when we received the Mastcam images at the new location,” ChemCam teammember Pierre-Yves Meslin said in the same statement.

Curiosity came across the meteorite in an area called the Murray formation in lower Mount Sharp. The rover will continue to explore this area as a part of its extended mission, which is focused on learning how Mars’ environment changed over time, and whether the environment could have possibly harbored life in the past.

Email Hanneke Weitering at hweitering@space.com or follow her @hannekescience. Follow us @Spacedotcom, Facebook and Google+. Original article on Space.com.