The process whose specific outcome is the progression of the lung over time, from its formation to the mature structure.