In most cases, it's simply an 'emoticon' symbolizing extreme joy, or an innocent face.
It's also used to annoy jerks by showing that you simply don't care what they say about you.
Person 2: Shutup homo.
Person 1: Hey hey, don't be hatin' ^^
Person 2: Wow, you're annoying.
Person 1: (^^,)