What does the star beside each routine do?

The star allows you to click or tap to select your favourites. You can then click or tap the star at the top of the app and it will list all of your favourited routines. You can add more by going back to the routines list and remove them by simply clicking or tapping the star a second time.