How does a body fossil of and animal form in amber?

A body fossil of an animal forms in amber when the animal is trapped in tree sap that hardens over time. The sap preserves the animal's body, allowing it to remain intact for millions of years. The animal's body is then fossilized in the hardened sap, which is known as amber.

What is amber