Greed/craving

According to the second noble truth, greed/craving give rise to suffering. What did
the Buddha mean by greed/craving and how do they cause suffering? How do these
apply to love and compassion for others?