Peptides at work: from structure to applications