How does the structure of lipids relate to its function?