Sedimentology is a branch of geology that studies sedimentary rocks and the processes by which they were formed.