An image is defined in optics as the collection of focus points of light rays emanating from an object.
A real image is a collection of focus points formed by converging rays, whereas a virtual image is a collection of focus points formed by diverging ray extensions.
The virtual image is an upright image that can be obtained when the rays appear to diverge but do not in reality converge.
The virtual image is one obtained from an optical system in which the light rays from the source do not intersect to form an image. These light rays are obtained by looking through a mirror.