This happens when a detection is accomplished through heuristics. There is no such thing as a heuristic virus. As a technical concept, everything in malware detection is done via heuristics.
Photosynthesis is the process in which plants (also autotrphoic protists and some bacteria) use light energy, from the Sun, to make sugars and organic food molecules from CO2 and water (H2O). This process is essential for the formation of not only energy, but also for the formation of glucose for purposes of structure.
Oxygen is created as a by-product. During photosynthesis, plant leaves take in carbon dioxide from the atmosphere. Using the energy from sunlight, this is combined with water drawn up from the roots to make glucose. Oxygen is also produced in this chemical reaction and exits the leaves into the surrounding air.