These are acronyms that express an expression of laughter and joy. The full forms of them are LMAO laughing my ass off, and ROFL is rolling on the floor laughing.