How is it possible that the gravel, for example, in a sedimentary rock consists of pieces of both igneous and metamorphic rocks?

http://www.fi.edu/fellows/fellow1/oct98/create/sediment.htm