Used in text messaging just like lol, just a stronger version of that. Stands for Laughing My Ass Off, commonly used when something funny is said or done.
"I can't believe she said that, LMAO" "The Grammys this year was chaotic as heck, LMAO"