What are the white foamy sacs that sometimes form on plans such as rosemary and lavender?

100% but they don't seem to do any harm.