What is the difference between legend and label elements?

Question

I'm working on updating my site and have become a little confused abut the differences between legend and label elements. Can you explain?

Answer

Legend is a broad label used for a group of objects. Label is used for labeling specific elements.