what material is earth and mars made of ?

Earth and Mars are both rocky planets, composed mostly of silicate minerals. The exact composition of their materials is slightly different, but they share some common elements.

To determine the composition of Earth and Mars, scientists have used various methods, including spacecraft missions, meteorite analysis, and remote sensing data. Here's how they have discovered the materials of these planets:

1. Earth's Composition:
- The composition of Earth's outer layer, called the Earth's crust, is well-known through various geological studies and analysis of rocks and minerals found on the surface.
- Earth's crust mainly consists of oxygen (46.6%), silicon (27.7%), aluminum (8.1%), iron (5.0%), calcium (3.6%), sodium (2.8%), potassium (2.6%), and magnesium (2.1%), with traces of other elements.

2. Mars' Composition:
- Analyzing the composition of Mars has primarily been done through robotic spacecraft missions, including the Mars rovers.
- Scientists have studied Martian meteorites that have landed on Earth, which provide direct samples of Mars' rocks.
- Remote sensing instruments aboard orbiters and rovers have also analyzed the Martian surface composition from a distance by studying the reflected light.
- Mars is mainly composed of oxygen (42.5%), silicon (21.2%), iron (12.9%), aluminum (8.8%), calcium (6.0%), magnesium (5.5%), and sulfur (2.5%).

Although the overall composition of Earth and Mars is somewhat similar, there are variations in the relative percentages of different elements. This leads to differences in geological processes, surface features, and overall conditions on the planets.