Science allows us to find the age of fossils because all living things are made of carbon. We can find the date that carbon began to breakdown. Carbon begins to breakdown when living things die. So, we can find the age of bones, wood, cloth, or other plants if they turn into fossils.
Hope this helps ;)