“There are applications that require loose output regulation and current less than 20mA. For such applications, a linear regulator built with discrete components is a cost-effective solution (Figure 1). For applications with tight output regulation and requires more current, a high performance LDO can be used.”
Link to article