Fossil are used to study

Organism that live today
Phylogenetic trees
How ancient animals behaved
Organisms that once lived

The environment during ancient times

Evolutionary relationships between species
Climate change and its effects
Extinction events
The formation of Earth's geological features