Building walls is something very important if you want to stay safe. Be it to protect your house or to stop creepers from sneaking up behind you while you’re tending to your crops. Walling up areas stops mobs from getting in while lighting up those areas will stop mobs from spawning in.