In Stardew Valley, raising your friendship level with the town villagers can be a rewarding experience and give you further insight into the residents and their backgrounds. It's also a requirement for dating or marriage. What's more, special events play at certain heart levels with the characters.
Source:https://www.cbr.com/stardew-valley-maru-heart-event/