In tight builds

I see in Redstone builds like hidden stairs cases that use pistons that are inactive/idle(unmovable blocks in front) used in front what's that about?