You can purchase upgrades from the upgrade store with the hearts you’ve collected.