They dislike the small and will stay clear of your garden or patio where it’s growing. The tansy plant also, with its pretty flowers, smells bad to mosquitoes. So plant them to keep your yard a pest-free zone.