Servers with keep inventory enabled let you keep your items and usually your XP when you die, instead of dropping them. It’s commonly used on casual survival, building-focused, or exploration servers to reduce death punishment and cut down on item recovery.