The process whose specific outcome is the progression of the sorocarp over time, from its formation to the mature structure. The process begins with the aggregation of individual cells and ends with the mature sorocarp. The sorocarp is a structure containing a spore-bearing sorus that sits on top of a stalk. An example of this process is found in Dictyostelium discoideum.