ROFL stands for “rolling on the floor laughing.” It is an exaggerated written reaction to something funny.

“ROFL, I thought that was the dog at the door.”
ROFL conveys a bigger reaction than a plain acknowledgment. As with other laugh markers, the sender may use it without literally laughing.