These remains were deposited in the mud on the bottom of the ocean or lake where the organisms lived