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