Dear is used to address anyone in a friendly way, whereas darling is most often used to address a beloved one, someone who is very close to the heart.