A particle is virtual when :
1) it's energetics do not respect the Einstein energy relation.
2) it corresponds to internal Feynman lines.
Both 1) and 2) are equivalent and particles that are caracterized thereby are called off mass shell.
One cannot speak about the frequency of a virtual particle because this value is uncertain.
virtual particles arise because in QFT, the conservation of total energy can be violated for a very short time, thanks to the HUP.
Just do a search on this in our forum because we have covered this subject many times before.
regards
marlon