A sedimentary rock is a rock formed troughout the years, buy different layours of rock and sand, that overlap one another and conglomerate forming a solid piece of rock.
The image shown below might give you a better understanding of what a sedimentary rock is. There you can see all the different sediment layours that started forming one on top of the other.
Hope it helped,
Happy homework/ study/ exam!