last_visit will store last time the member was online. last_activity will store last time the user performed some action. I’m not sure which actions without browse the files but I guess it’s something like submit/reply to a content item, react, update profile, etc.
Again, just guessing.