Composting can sometimes create undesirable smells and even attract pests. This can be a problem especially if you live in an apartment.