Compliments

Does compliments make us feel more confident? I personally believe that compliments most people's confidence does it mean that we are depending on someone for our confidence or depending on someone to make us happy? Because my day was so good is when someone compliments me, even if it is about little things. I don't think that we are depending on it, but everyone feels good, confident and happy when someone says you're so pretty or compliments on our outfit about anything related to us