It's used as a term of romantic affection between couples. Casual friends or strangers wouldn't say it to one another (at least in my country), but for couples in a romantic relationship it's a very natural and common term of affection. Either could say it.
I've seen waitresses say it to customers in US tv series "What do you want, honey?". But I never hear it used this way where I live.