The rock sample you described has the following characteristics: it has many layers, contains fossils and small pebbles, and is lightweight.
Based on these characteristics, the type of rock it is would be sedimentary.
Sedimentary rocks form from the accumulation of sediments, which can include fossils and pebbles, and they often exhibit layering.