If you're talking about eukaryotic cells then it's the cell wall. If it's a prokaryotic cell sometimes the slime layer secreted by some bacteria may harden and form a capsule around the bacterial cell.
Hope i helped!
They're called anastomoses
They obtain energy by consuming other organisms.