Where does the term “bachelor’s button” come from and What does bachelor’s button mean?

Almost any kind of small round flower the petals of which present a jagged appearance goes by the name bachelor’s button.

Why?

Because garments anciently worn were held by buttons of cloth which, in the case of helpless bachelors, became frayed around the edges.