Do you need to unplug your laptop?

For notebook users, in addition to hardware performance, people are most concerned about the battery. But it seems most people are vague about whether the laptop should be unplugged and how to maintain the battery. Should I unplug the battery? Lithium...