There are ants in the closet. You can put some vegetables such as parsley and celery to drive away the ants.
Put some walnut leaves, tobacco and peppers in places where ants often haunt, which can drive away ants.
2. Add a few drops of lemon citronella or eucalyptus essential oil when mopping the floor. Not only are there no ants, but even cockroaches will be driven away.
3. In the place where ants crawl, pour some detergent or salad on it with an unwanted rag (not too wet, just wipe it with water), and then wipe the ant hole and the place where ants go in and out back and forth, so that ants will not appear from that place again. If you use some salad or detergent on the ant hole, it can also prevent the growth of ants.