They are both in-game currencies but with different functions. Stars are used to do tasks which decorate the mansion or help the characters. Coins are used for buying boosters, lives, extra moves, and more furniture. BTW, stars can’t be purchased with coins, the only way to earn stars is through beating levels.
Matchington Mansion Game GUIDE