From left to right, general structures of a β-lactam, a γ-lactam and a δ-lactam.
A lactam (the noun is a portmanteau of the words lactone + amide) is a cyclicamide. Prefixes may indicate the ring size: β-lactam (4-membered), γ-lactam (5-membered), δ-lactam (6-membered ring). That order in the nomenclature is because beta β, gamma γ and delta δ are the second, third and fourth letters in the alphabetical order of the Greek alphabet, respectively.