As we know, fungus gnats like warm and moist conditions. Therefore, they are most attracted to plants that tend to be kept in these types of environments – for example, indoor houseplants. However, this doesn't mean that other plants are safe. Any plant near a moisture or heat source could risk attracting gnats. Essentially, it's not about the plant but the environment they're in!