Minecraft wiki entry for Development_versions, associated text: New gamemode, only accessible with /gamemode 2.
The player cannot break or place any blocks.
The player can interact with any blocks, like doors and levers, and can buy from villagers.
The player can still damage mobs.