This is online slang. It shows you are laughing a lot. You can put it at the end of a sentence. Or you can use it by itself.
I never would have thought of that hahaha.
、
Yesterday's stream was hilarious lol.
、
This cat's face is so ugly it's actually cute lol.
I can't process what you're saying at all (because it's too funny/absurd) lol.
、wwwwww
Stop it already, my stomach hurts from laughing lmaoooo.