The larvae can damage the plants and spread disease, whilst the adult gnats are extremely irritating to have flying around your home and can quickly multiply if not taken care of.