Certain species of trees aren't ideal for composting, and these are usually plants low in nitrogen and calcium but high in lignin. Trees like oak, holly, and beech shouldn't be placed in a compost bin as they can be harder to break down and have a negative impact on the existing pile.