what rock is it

the plants in a swamp die and are buired layer upon layer

coal

The rock that is formed from the buried and compressed layers of dead plants in a swamp is called coal. Coal is a fossil fuel that is primarily composed of carbon-rich plant material that has undergone geological processes over millions of years.

To identify the rock as coal, you can make use of its distinctive properties. Here's a step-by-step process to recognize coal:

1. Look for its appearance: Coal often appears black or dark brown, but can also have shades of gray. It is typically shiny or lustrous, with a smooth or somewhat rough texture.

2. Check its hardness: Coal is relatively soft compared to other rocks or minerals. It can easily be scratched with a fingernail or a knife.

3. Examine its weight: Coal is relatively lightweight, especially compared to rocks like granite or basalt.

4. Observe its behavior when burnt: If you have a small sample, you can perform a simple test. With proper safety precautions, ignite a small piece of the rock. If it burns readily and produces a black sooty residue, it is likely coal.

5. Consider the location: If the rock was discovered in an area with a history of coal mining or known coal deposits, it increases the likelihood that it is indeed coal.

Please note that evaluating rocks can be challenging without proper expertise or laboratory equipment. If you have a significant sample or if you need a definitive identification, it is recommended to consult a geologist or a professional in the field.